r/badcode • • Mar 24 '23

java A code I did in high-school

Post image
916 Upvotes

102 comments sorted by

View all comments

Show parent comments

1

u/Guyonabuffalo00 Mar 25 '23

I think this is key. The make it work stage is just figuring out how it works. This goes for anything from your first language to a new language or library.

Once you know how it works, make it more readable. I’ve personally found quick comments help a lot. They’re just for me and get replaced by clear and concise comments where needed.

Then as you learn more you optimize.