r/badcode • u/TheBrainStone • Sep 15 '21
bash Every time I stumble across something mind numbingly dumb it's always one of two programmers. Literally every single piece of awful code can be attributed to them. And they built the code base.
50
Upvotes
12
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Sep 15 '21 edited Sep 17 '21
Image Transcription: Comment
Unknown User
No functionality changes, just cleanup.
Or in other words:
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!
What in god's name is this?!?
[Beneath this is a code block, as follows:]
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!
9
u/tpill92 Sep 15 '21
I'm not super good with bash, but is this just the equivalent of if(true)?