Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
Jason Novinger ( jnovinger@programming.dev )  to Programming Horror@programming.dev · 3 years ago

donno2048/pygoto: Use goto in Python

github.com

external-link
message-square
2
link
fedilink
  • cross-posted to:
  • python@programming.dev
11
external-link

donno2048/pygoto: Use goto in Python

github.com

Jason Novinger ( jnovinger@programming.dev )  to Programming Horror@programming.dev · 3 years ago
message-square
2
link
fedilink
  • cross-posted to:
  • python@programming.dev
GitHub - donno2048/pygoto: Use goto in Python
github.com
external-link
Use goto in Python. Contribute to donno2048/pygoto development by creating an account on GitHub.
alert-triangle
You must log in or # to comment.
  • nous ( nous@programming.dev ) 
    link
    fedilink
    arrow-up
    3
    ·
    3 years 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 ( mcmodknower@programming.dev ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 years ago

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

Programming Horror@programming.dev

programming_horror@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming_horror@programming.dev

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

  • Keep content in english
  • No advertisements (this includes both code in advertisements and advertisement in posts)
  • No generated code (a person has to have made it)

Credits

  • Icon base made by Lorc under CC BY 3.0 with modifications to add a gradient
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 3 users / month
  • 22 users / 6 months
  • 23 local subscribers
  • 2.4K subscribers
  • 35 Posts
  • 125 Comments
  • Modlog
  • mods:
  • Vacant ( Vacant@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code