4 ms·
"GOTO is considered harmful". This kind of thinking just makes me want to run off screaming into a paper bag. Language developers are, in many ways, the modern
by 8chanAnon 3y ago
"GOTO is considered harmful". This kind of thinking just makes me want to run off screaming into a paper bag. Language developers are, in many ways, the modern aristocrats telling us what we can't or should not do. I still miss assembly language.
- jjice 3y agoIt feels pretty broadly accepted that overuse (or even moderate use) of goto becomes a nightmare for readability. Plenty of modern languages still support labels in loops to break to to be able to break out of multiple layers, which is the only main case that I can think of where a goto would be handy.
- Joker_vD 3y agoGOTO originally allowed one to jump across functions, into the middle of the loops, etc. And nobody stops you from writing in assembly! You'll just spend more time on writing (and debugging) your programs but sure, go ahead, it's not like your time on Earth is finite.
- somecommit 3y agoI created a GOTO mecanism in rxjs once (typescript) but I felt doing the wrong thing
- 12_throw_away 3y ago"Language developers are, in many ways, the modern aristocrats telling us what we can't or should not do." This is offensive nonsense and breathtaking entitlement. They're providing you free tools to try to help you, usually not even being paid for their work. Edit to add: I just got copypasta trolled, didn't I ...
- trealira 3y agoWhat's the original copypasta?