Doug’s MATLAB Video Tutorials

December 4th, 2008

Video tutorial: Verbal code review

Talking through your code is an excellent way to find bugs. By discussing the code you have written line by line, you are forced to understand it better. This is a common practice at most software companies. By talking through this simple function, we are able to find a small little logical error and a formatting error. This particular bit of code is a modification of some code that was written to answer a question on the Newsgroup.
MATLAB Central Files Icon

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


Doug Hull is a proud MathWorker who is on a mission to help you with MATLAB.

Doug's picture

These postings are the author's and don't necessarily represent the opinions of The MathWorks.