Tespia
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
stratts@programming.dev to Programming Horror@programming.devEnglish · 3 years ago

TerrariaClone: An incomprehensible hellscape of spaghetti code.

github.com

external-link
message-square
2
link
fedilink
1
external-link

TerrariaClone: An incomprehensible hellscape of spaghetti code.

github.com

stratts@programming.dev to Programming Horror@programming.devEnglish · 3 years ago
message-square
2
link
fedilink
GitHub - radian-software/TerrariaClone: 🔥 An incomprehensible hellscape of spaghetti code.
github.com
external-link
🔥 An incomprehensible hellscape of spaghetti code. - radian-software/TerrariaClone
alert-triangle
You must log in or register to comment.
  • Jason Novinger@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 years ago

    This is my favorite/most horrifying part:

    The control flow is so labyrinthine that some of the code is actually indented by 23 tabs. Forget the 80-column rule – these lines don’t even start until column 92! Even if we discard the inline data tables, then the longest line in the codebase is still a whopping 387 characters long (you’ll have to scroll to the right to read it)

  • kopper [they/them]@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    3 years ago

    And of course, let’s not forget this as well: https://github.com/radian-software/TerrariaClone/issues/2

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
  • 9 users / month
  • 19 users / 6 months
  • 0 local subscribers
  • 2.37K subscribers
  • 44 Posts
  • 73 Comments
  • Modlog
  • mods:
  • Vacant@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org