Transcription of MATLAB Programming Style Guidelines - Datatool
{{id}} {{{paragraph}}}
MATLAB Programming Style Guidelines Richard Johnson Version October 2002 Copyright 2002 Datatool Language is like a cracked kettle on which we beat tunes to dance to, while all the time we long to move the stars to pity. Gustave Flaubert, in Madame BovaryTable of Contents 2 Naming 6 Files and 6M 6 Input and 9 Layout, Comments and 10 White 13 IntroductionAdvice on writing MATLAB code usually addresses efficiency concerns, with recommendations such as Don t use loops. This document is different. Its concerns are correctness, clarity and generality.
Variables with a large scope should have meaningful names. Variables with a small scope can have short names. In practice most variables should have meaningful names.
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}