Quote:
|
Originally Posted by phrontist
Notepad..., Ultraedit, and the above editor rule...Windows is a mighty force of evil.
|
Aren't those
Windows editors?
Quote:
|
Originally Posted by phrontist
BASIC, Python, Lisp, and Ruby are not real programming languages. C is a real programmer's language. No, I don't need classes.
|
Have to agree on the BASIC thing. But, come to the future. My objects wish to eat you.
Code:
#include <violence>
class enemy
{
pulbic:
enum speed { slow, fast, spontaneous };
void getEaten(speed howFast); // Note that this class doesn't throw any exceptions; there is no chance of failing
}
int main(int argc, char **agrv)
{
enemy phrontist = new enemy;
phrontist.getEaten(slow);
return 0; // we, of course, succeeded
}
Texan compiles and runs it. If you ever die, you'll know that my class succeeded in getting you.
All in good fun.
