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

댓글

댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.