Gotos are cool, it’s the way assembly works, if your mind likes them then more power to you. But if you work on teams then it’s a nogoto. Most of the functionality can be replaced with things that most people find easier. Just enjoy your time with and don’t ever is Kotlin. Fucking let me fucking return. I see them now those snooty opinionated safety fanatics “ooooh it will be so elegant in the closures the last value will be the return” bs.
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
Functions to the rescue!
I'm glad you included the April Fool's Day link. Comefrom is the worst thing I've ever seen.
That is until you're doing something more complex, then goto becomes no-go.
Except for error handling, perhaps
Not even that. Switching code flows means potential void of state integrity. Error handling should either terminate discarded states or not interfere at all.
By the way, imagine smart pointers with goto jumps.
Got a bit too much into BASIC?
You should try assembly. Pure goto hell
It's always fun to get your offset slightly wrong, and jump into the middle of an instruction.