r/learnprogramming • • Jul 12 '13

What are some bad coding habits you would recommend a beginner avoid getting into?

Whether they're stylistic habits or program design habits. I'm learning java and want to be sure to write my code as efficiently as possible to avoid lengthy code and poor design choices.

249 Upvotes

215 comments sorted by

View all comments

Show parent comment

9

u/[deleted] Jul 12 '13

I've been programming in C# for at least 2 years now and I didn't know it had goto O_O