17
top 2 comments
sorted by: hot top controversial new old
[-] nous@programming.dev 6 points 1 year ago

Or a better idea: don't use goto. In any language. Especially not one that needs line numbers to work and not labels, as soon as someone edits the file utter chaos will ensue. This has all the normal downsides of gotos with labels, but with far more downsides.

[-] mcmodknower@programming.dev 3 points 11 months ago

It also only works for the main module and only until you hit the recursion limit.

this post was submitted on 16 Jul 2023
17 points (100.0% liked)

Programming Horror

1888 readers
2 users here now

Welcome to Programming Horror!

This is a place to share strange or terrible code you come across.

For more general memes about programming there's also Programmer Humor.

Looking for mods. If youre interested in moderating the community feel free to dm @Ategon@programming.dev

Rules

Credits

founded 1 year ago
MODERATORS