What is a programming habit that you wish you picked up earlier on?

NexionSEO

Regular Member
Jr. VIP
Joined
Sep 10, 2023
Messages
286
Reaction score
119
Mine would definitely be less time coding and more time reading and debugging the code that I write. Most of my growth came from figuring out why something failed rather than succeeding at getting something to work.

What is one thing you wished you had known years ago?
 
Writing the README and documentation files before putting down even one line of code. If you cannot express how your new feature functions in simple English terms, then you shouldn’t bother implementing the code logic. You’ll save yourself countless hours in refactoring.
 
Mine would definitely be less time coding and more time reading and debugging the code that I write. Most of my growth came from figuring out why something failed rather than succeeding at getting something to work.

What is one thing you wished you had known years ago?
For me it would be learning to spend more time understanding the problem before writing code. Early on I'd jump straight into coding because it felt productive. Later I realized that an extra 20 minutes thinking through the architecture, edge cases, and data flow could save hours of debugging.

I'd also add learning to read other people's code. Some of the biggest leaps in my programming ability came from studying well written projects and seeing how experienced developers solved problems I hadn't even considered.
 
If I could, I would spend more time understanding the code before diving into implementation; doing so would save me time on debugging later on. Master the skills of structuring and laying out code.
 
Mine would definitely be less time coding and more time reading and debugging the code that I write. Most of my growth came from figuring out why something failed rather than succeeding at getting something to work.

What is one thing you wished you had known years ago?
I am by no way an experienced programmer, but when I am learning a language I like to write the commands that I am learning, because this helps with memory retention. That is one thing I wished I had been doing a couple of years ago
 
Mine would definitely be less time coding and more time reading and debugging the code that I write. Most of my growth came from figuring out why something failed rather than succeeding at getting something to work.

What is one thing you wished you had known years ago?
Not pursuing competitive coding. If i only focused on that i might be in a quant type position.
 
Back
Top