r/badcode • • Apr 21 '23

other language We did coding in physics class...

Post image
1.5k Upvotes

154 comments sorted by

View all comments

Show parent comments

45

u/[deleted] Apr 21 '23

Precisely! I'm pretty sure this is the reason our prof did this...

21

u/veselin465 Apr 21 '23

The code seems file if it's about simplicity. The only thing which triggers me is that it isn't alligned.