3
top 2 comments
sorted by: hot top controversial new old
[-] nous@programming.dev 3 points 11 months 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 6 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
3 points (100.0% liked)

Programming Horror

1634 readers
1 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