Nope. I have, however, used it in a few methods that work with some stack-based library or other (eg. libpng), reducing code size by about 30-40% and repetition by at least 80% compared to the naïve if/else structure no doubt employed by those who worship Dijkstra.
Evil? No, I use it when it makes sense. If it can shorten or make the code clearer and cleaner, yes.
In autogenerated code? All the time, besides, what compiler doesn't use jumps in the generated code?
In state-machines? Sometimes.
For obfuscatory purposes? I write my code to be both read by people and executed by machines, I've only used obfuscation a few times for fun, I would never use it in any real code that I write.
Name:
Anonymous2011-04-04 11:52
>>4
what a fucking fag, use goto in all next assignments. write a script that replaces every other control structure with goto. that'll show him!
EVIL GOTO
BLOCK AND BRANCH WWW.LISP.ORG
YOU ARE EDUCATED EVIL,
AND MIGHT HAVE TO KILL
THE EVIL ONE TEACHING
EDUCATORS BEFORE YOU
CAN LEARN THAT RECURSION
ACTUALLY EXISTS -BUT
ALL ALGORITHMIC TRUTH DENIED.