DEV Community


Discussion on: 08 Mistakes to avoid As a Programmer

importhuman profile image
Ujjwal Goyal

Can you please elaborate on points 4 and 7? How exactly do you recommend to document code? Is it commenting in the code about what a particular block of code does, or something else?
And as for using GitHub as a backup, if you merge a branch which later turns out to be not so good, do you switch to the older commit of the master branch, or by some other way?