DEV Community

Discussion on: What are the tips or techniques you wish someone had told you ages ago?

Collapse
 
d1p profile image
Debashis Dip • Edited

In no particular order.

  • Read the documentation before jumping into copying someone elses code.
  • Add comments to the code for the future version of yourself.
  • Don't be afraid to take a peek at library/framework source code.
  • Testing is awesome, you should do it more.
  • Commit frequently.
  • You don't need to make the code scalable for 10m users when the maximum user base is only 10k
  • Do not install beta version of some OS in the main development machine
  • Take a full backup of your machine once in a while
  • It's ok to not write codes like a ninja dev, If it works well and does the job as required then let it be
  • Readability > Shortcuts