Question

Good practices in writing MATLAB code?

I would like to know the basic principles and etiquette of writing a well structured code.

 45  4683  45
1 Jan 1970

Solution

 34

Read Code Complete, it will do wonders for everything. It'll show you where, how, and when things matter. It's pretty much the Bible of software development (IMHO.)

2010-08-30

Solution

 22

These are the most important two things to keep in mind when you are writing code:

  1. Don't write code that you've already written.
  2. Don't write code that you don't need to write.
2010-08-30