Coding best practices - what do veteran coders swear by?

zephyr

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.

Answer this Question

Answers

4 total
becker
Vote Up (41)

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.

stephenb
Vote Up (40)

 

Here is some advice for JAVA coders:

http://java.sun.com/developer/technicalArticles/Interviews/studentdevs/i...

 

Here are some Visual Studio 6 tips:

http://msdn.microsoft.com/en-us/library/aa260844(v=vs.60).aspx#cfr_bestprac

 

Here's a blog for software developers:

http://www.realsoftwaredevelopment.com/

 

rtrembley
Vote Up (38)

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.

lmile61
Vote Up (29)

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

 

Ask a question

Join Now or Sign In to ask a question.
Hackers approach meal preparation like they do software development
The enterprise mainstay has proved resilient in the face of many challenges -- but just how long can it remain a top programming language?
The show will focus on hardware, like the old one, but with a twist for modern times.
While administrators scramble to fix the newly discovered Shellshock vulnerability, Harvard University researchers are putting the finishing touches on a scripting language built to mitigate the damage caused by such holes.
At least not until a few months after the device launches.
New job listing data shows that demand for Python developers is up significantly
A new study finds that scripting languages have a performance edge in completing everyday tasks
At a time when Web and mobile technology development have become top priorities, effective enterprise architecture matters more than ever. Here are this year's six winning initiatives
Journalists, nurses and plumbers are among those who drink more coffee than people in technology
A new study of GitHub data reveals characteristics of successful open source projects

White Papers & Webcasts

See more White Papers | Webcasts

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

randomness