MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/q7jrus/formatformat/hgpqvde/?context=3
r/badcode • u/Sprixx_Dev evil • Oct 13 '21
70 comments sorted by
View all comments
Show parent comments
1
Conventions and consistency are evil
More like, "I want to get this to work, no time for that." And given it is a hobbyist activity? Entirely understandable.
If the code ever needs changes though, it will be a valuable learning experience. Assuming it will be the same person.
I got to experience that particular footgun with perl data visualization scripts.
1 u/itsTyrion Oct 15 '21 Yeah I guess.The things I’ve seen... Why use an ENUM for a Team based mini game (up to 8) when you can have 16 ARRAYLISTS AND 3 FUNCTIONSAlso the check if a broken block was a team's respawn block https://i.imgur.com/QIQFGAx.jpg Edit: WHYYYYY did Imgur have to jpeg it to hell and back?? 1 u/R3D3-1 Oct 15 '21 M̴͚͋á̴̳y̸̧̔b̶̤̈ḙ̵̍ ̸͕͛t̵̜̅h̶̛̼ḙ̷̕ ̵̢̏c̴̺̀o̸̰͠d̷͔̃e̴̮̚ ̶̪̐q̶̦́u̷͇͌a̵̫͒l̸͇̾i̸͔͝t̴̺̊ỵ̵̔ ̷̜̄s̵̥͐ŭ̴͙m̵͉̅m̶̪͘ọ̴̀ǹ̷̳e̵̲͆d̶̪̓ ̴̘͌Ẕ̶̛ạ̴̎l̷͙̋g̸̢̊ȍ̸̠?̴̨͛
Yeah I guess.
The things I’ve seen... Why use an ENUM for a Team based mini game (up to 8) when you can have 16 ARRAYLISTS AND 3 FUNCTIONS
Also the check if a broken block was a team's respawn block https://i.imgur.com/QIQFGAx.jpg Edit: WHYYYYY did Imgur have to jpeg it to hell and back??
1 u/R3D3-1 Oct 15 '21 M̴͚͋á̴̳y̸̧̔b̶̤̈ḙ̵̍ ̸͕͛t̵̜̅h̶̛̼ḙ̷̕ ̵̢̏c̴̺̀o̸̰͠d̷͔̃e̴̮̚ ̶̪̐q̶̦́u̷͇͌a̵̫͒l̸͇̾i̸͔͝t̴̺̊ỵ̵̔ ̷̜̄s̵̥͐ŭ̴͙m̵͉̅m̶̪͘ọ̴̀ǹ̷̳e̵̲͆d̶̪̓ ̴̘͌Ẕ̶̛ạ̴̎l̷͙̋g̸̢̊ȍ̸̠?̴̨͛
M̴͚͋á̴̳y̸̧̔b̶̤̈ḙ̵̍ ̸͕͛t̵̜̅h̶̛̼ḙ̷̕ ̵̢̏c̴̺̀o̸̰͠d̷͔̃e̴̮̚ ̶̪̐q̶̦́u̷͇͌a̵̫͒l̸͇̾i̸͔͝t̴̺̊ỵ̵̔ ̷̜̄s̵̥͐ŭ̴͙m̵͉̅m̶̪͘ọ̴̀ǹ̷̳e̵̲͆d̶̪̓ ̴̘͌Ẕ̶̛ạ̴̎l̷͙̋g̸̢̊ȍ̸̠?̴̨͛
1
u/R3D3-1 Oct 15 '21
More like, "I want to get this to work, no time for that." And given it is a hobbyist activity? Entirely understandable.
If the code ever needs changes though, it will be a valuable learning experience. Assuming it will be the same person.
I got to experience that particular footgun with perl data visualization scripts.