-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
Steve Eddins from Mathworks made a reference to this book (IIRC) when I asked him about how to conduct code reviews when you do not have someone else to review your code.
Apparently I am not the only one, and is a common 'problem' in science.
He/the book suggested that if there is no other person there to review your code, a good way to do it yourself is to use a debugger and step through every line of code and make sure what you think is in each variable, is the actual value.
Unit testing is one way to tie the debugger into the process, and it isn't as time consuming as it may seem.
Not sure if anyone else does this, but I'd love to hear how you 'code review' on your own.