Skip to content

Code review by yourself #1

@chendaniely

Description

@chendaniely

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions