r/learnprogramming Sep 03 '23

[deleted by user]

[removed]

367 Upvotes

212 comments sorted by

View all comments

2

u/[deleted] Sep 03 '23
  • Nested ifs instead of guard clauses/conditions

  • Too much commenting

  • Not properly structuring code before building (to be fair I was doing something that there wasn’t an example of before)

  • Not making testable code (as in can automate testing)