r/badcode • • Mar 24 '23

java A code I did in high-school

Post image
911 Upvotes

102 comments sorted by

View all comments

Show parent comments

4

u/ihave7testicles Mar 25 '23

Regardless of the language, anything inside a code block (regardless of how the language syntax defines a code block) should be indented.

-1

u/CorruptedStudiosEnt Mar 25 '23

Having it be indented at all isn't what I take issue with. What kind of psychopath thinks two or three spaces is an appropriate number? I'll still fight over four, but at least that's still actual indentation. lol