C++ is a general-purpose programming language with a bias towards systems programming that
– is a better C,
– supports data abstraction,
– supports object-oriented programming, and
– supports generic programming.
>is a better C
Seems like /prog/ was wrong again
Name:
Anonymous2013-08-28 8:50
Java is a general-purpose programming language with a bias towards Enterprise Programming that
– is a better C++,
– supports data abstraction,
– supports object-oriented programming, and
– supports generic programming.
>is a better C++
Seems like /prog/ was wrong again
Interviewer.say("So tell us how Java compares to C++.");
Representative.say("You know what the funniest thing about C++ is? It's the little differences. A lot of the same shit we got in Java, they got in C++, only its a little different.");
Interviewer.say("Example?");
Representative.say("Well, in C++, you can get a pointer to a variable. And I don't mean an object reference, I mean a memory address, like in assembly! You can get a pointer to a function. You know what they call an \"import\" statement in C++?");
Interviewer.say("They don't call it an import statement?");
Representative.say("No, they got a preprocessor there, they wouldn't know what the fuck an import statement was.");
Interviewer.say("What'd they call it?");
Representative.say("An #include statement.");
Interviewer.say("#include statement! What do they call a string?");
Representative.say("A string's a string, only they call it char*.");
Interviewer.say("char*, hehehe, what do they call a subclass?");
Representative.say("I don't know, I didn't use inheritance. But you know what they put their classes into in C++ instead of packages?");
Interviewer.say("What?");
Representative.say("Namespaces.");
Interviewer.say("Goddamn!");
Representative.say("I seen 'em do it! And I don't mean a little bit on the side, they fuckin' drown those classes.");
Interviewer.say("Yech!");
Name:
Anonymous2013-08-28 11:12
>>3
What's gonna happen when your Living.Eukaryote.Animal.Chordate.Vertebrate.Mammal.Therian.Primate.Anthropoid.Hominid.Homo.Sapien.White Interviewer forgets his machinegun on a certain boxer's table and gets killed? Do you have an entire mirror object hierarchy rooted on Dead? Or do you check this.isLiving() and throw InvalidStateExceptions from 95% of your methods?
>>4 Do you have an entire mirror object hierarchy rooted on Dead?
Did you see a class called DeadObjectStorage? Know why? Because there is no fucking DeadObjectStorage.
While I appreciate that your convictions are relevant to you, I'm afraid I can't really follow as I have no particular opinion on the matter. It occurs to me that while I do have opinions on a variety of other topics, discussing them with people is rarely a fruitful exercise. At times people agree, other times they disagree, and often they simply don't find them relevant to their personal lives. It isn't that anyone's opinion is more or less valuable than anyone else's; just not as relevant to one individual as it is to another.