Comment Re:They couldn't wait (Score 1) 79
No, but I've watched The Wire. Does that count?
No, but I've watched The Wire. Does that count?
'When we were planning this degree, our advisers from the commercial space industry said they couldn't wait to hire our graduates.'"
So the course wasn't even fully designed yet, not a single fucking graduate has yet to come out of that university, and they ALREADY want them working on projects headed to one of the most hostile environment we're aware of?
What a bunch of clowns.
Whatever. I'm not here to argue which standard is stupid and which one isn't, just the fact that in C99 and above it works that way. Either way it's ridiculous trivia because most applications will have a return statement regardless of what standard you use.
It's also defined as the only function that if you reach the end without a return statement, it is implicitly "return 0;"
Did they carry that over to C as well? In C89, it definitely wasn't the case. But then, it wouldn't be the only thing from C++ which made its way into C.
Correct, C89 didn't have it but C99 and C11 do.
Alright, glad we agree
Ok.
Do any other C functions have a reserved return type? No? Then it's not exactly an intuitive conclusion to jump to if one has never programmed in C, is it?
I don't understand what you're getting at. I read dimeglio's post as a condescending one towards HeckRuler as if putting "int" was the wrong thing to do (thus making him a "brogrammer" who doesn't know what he's doing)
I'm not saying it's intuitive (AC is being harsh here), but if he's going to diss someone for it, he should know what the heck he's talking about.
As for the whole convention thing, that was a reply to you personally. I was being a bit pedant, pointing out that it's not a "convention" but rather the only proper return type for main.
I don't know if you got confused by the people here who are completely ignorant of that part of the C standard, but there's no "convention" here.
main is defined to have a return type of int. It's also defined as the only function that if you reach the end without a return statement, it is implicitly "return 0;"
dimeglio is just a victim of cargo cult programming.
I'll interpret it the way you should: if anything Quebec and Montreal are MORE open than the rest of Canada.
It's Quebec, not the U.S. We refer to Arabs as Arabs and Islamists as Islamists, not to both of them as terrorists.
So you rely primarily on security thru obscurity and hope that genuine bad guys would never scan you? That's pretty scary.
No actually you made up that part entirely. Here's what he actually said:
Seriously, don't run Acunetix or Retina scans or whatever on other people's systems. It looks like you are probing for vulnerabilities because, well, that's exactly what it's doing.
And if I'm a sys-admin, I'm going to see that and think you're an attacker. From my point of view, you've just cased the joint. That's what I'm going to report up, and from there everything gets ugly.
Most people reach CEGEP at 18, sometimes very rarely at 17. Not that it matters, because if you had bothered to read the fucking article you'd notice that the first sentence of the second paragraph states he is 20.
Not that I agree with that ledow idiot, but this isn't the US where you're allowed to kill people in other countries three years before you can buy a six pack. He's legal to buy alcohol in Quebec.
That's a private place you fucking moron.
Vive les idiots!
Remember, UNIX spelled backwards is XINU. -- Mt.