My C++ professor stated that it is taboo if you use the GOTO statement in code. Tell me /prog/, is GOTO as bad as he says? What's your opinion on it?
Name:
Anonymous2007-01-30 15:46
Also, lol switch. Anyone who argues that gotos should be banned must also argue that switches, breaks, and continues must be banned or I will start writing code like this:
switch (your_mom) {
case HOME_ALONE:
while (is_horny(your_mom))
case TEMPORARLY_BORED:
masturbate(your_mom);
if (is_satisfied(your_mom))
have_sex_with_husband = 0;
else
case HUSBAND_HOME:
{
put_on_panties(your_mom, PINK | STRIPED);
have_sex_with_husband = 1;
}
}
Props for anyone who can figure out the subtle differences between the HOME_ALONE and TEMPORARLY_BORED cases without compiling it.