DEV Community

loading...

Discussion on: 101 Tips For Being A Great Programmer (& Human)

Collapse
bellnorm profile image
Norm • Edited

Tip no. 46, Review your own code, is very important. It's easy to think all is well, since you wrote the code yourself, but it can be amazing what you discover about your own code when you review it yourself before submitting it for a code review. I created my own checklist to use when reviewing my own code and it was very helpful. The checklist includes things like, 1) Do the parameters of this method have appropriate guard clauses?, 2) Is this method too long?, 3) Are the names of my properties, methods, variables sufficiently clear?, etc.