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

Programming Horror

1879 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 @[email protected]

Rules

Credits

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] nous 3 points 1 year ago (1 children)

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 3 points 11 months ago

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