by sevensor · 8y ago · 0 comments
I feel like a lot of the resistance is from people who think this is somehow bad style, because it's associated with a source of bugs in other languages. The same kind of people will argue endlessly against having 'goto' in a language, even when it can clearly make for cleaner code (eat it, Dijkstra!) in some cases.
x = stuff
while x:
x = stuff while true:
x = stuff
if not x:
break