File Exchange Pick of the Week

Our best user submissions

Consistency in coding

When we first started this project, Scott and I wanted to avoid using the more popular files as our weekly pick. I am going to break from that rule, because in face-to-face interaction I recommend this file to more customers than any other and think it needs to used more often. Why use a style guide? There are lots of somewhat arbitrary choices we make when coding: Should the variable be named numCatagories, or cat_num? How far should I indent? What should I name this function? By adopting a standard like the one in this document, you will know the answers to these question and make code that is written consistently. Please read this style guide.
|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.