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.
Comments
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.