DEV Community

Discussion on: Things I'd do differently if I had to start with programming all over again!

Collapse
 
aminmansuri profile image
hidden_dude

Things I learned:

  1. Use the debugger to run my projects, and trace code line by line from the get go.. don't waste time running, then debugging.. debug the code even if it's working

  2. Use lots of logging

  3. Use lots of asserts (or better alternatives) to catch errors in your code

  4. Unit tests

The bug is your enemy you must seek it out.

Collapse
 
thisismanaswini profile image
Manaswini

Thank you so much for sharing!!!