Aug 18, 2011

Coding best practices - what do veteran coders swear by?

I'm looking for good articles, forums and tips on coding best practices. I've been programming for a few years, and like to hear from longer timers on some of their best tips, techniques.


Best practices, you should visit some websites which gives lot of examples and tips so you can practice more and make easy coding.



Doesn't the type of coding you do determine what kind of practices you follow? Obviously, people coding in XML and Java will have different dependencies than someone who is a .NET/SQL developer for traditional RDBMS applications as would someone who is coding for a Mobile OS like Android.


One of the first things my dad taught me (he's a computer scientist) is to develop and use error-handling routines. No user of your system wants to see error messages that mean nothing, or to have no error messages show up at all when a process fails. If you can do a walkthrough of your code and look closely at the output it provides to the end user, you can usually do a better job of predicting where people will need support or have complaints about their confusion.

Answer this