Conversation
Notices
-
Who here likes goto statements? Arent they just the /greatest/?
Tuesday, 30-Sep-14 22:50:54 UTC from web-
@techdisk ... no
-
@techdisk goto urmum;
Light likes this. -
@redenchilada urmum:
do {
printf("no u");
} -
@techdisk I love c++, its actually my favorite oop language.
-
@l1ghtsword I'm currently learning C in school. The prof was talking about loops, so he had to mention the dreaded goto.
-
@techdisk Was c sequential> i honestly forget.
-
@l1ghtsword I do believe C is sequential
-
@techdisk yeah that's what i thought. have fun with that :/
-
@techdisk im stubborn enough to still use goto's as much like functions as possible.
-
@l1ghtsword Hey, C is pretty sweet. And everything carries over to C++ anyway.
-
@techdisk it certainly does. it is still reliable don't get me wrong. its just convoluted at times.
-
@l1ghtsword Yeah, like trying to break out of a loop using a switch/case statement without goto. ugh.
-
@techdisk GOTO statements are the next best thing to infinitely nesting your function calls until your crappy QBASIC text adventure game eats up all of the memory and crashes, then calling it a "time limit." !nolife #highschool
RDN's Lucifer likes this. -
@scribus "You call it a bug, we call it a feature."
-
@nerthos Bugs turning into features are literally the best thing though
-
-
@nerthos I coded a chase attack into a boss once and it would occasionally just start circling around the player instead. I kept it because it was even more menacing and fun to play against.
-
@techdisk They're nice for what they do. http://cs.sjsu.edu/~mak/CS185C/KnuthStructuredProgrammingGoTo.pdf
-