[[start]] Programming Don'ts

Route:

Purpose
The purpose of this wiki is to teach programmers best practices by showing what NOT to do in their everyday code.
It will then propose alternatives to the bad code. The code in this wiki will be written in Java, but most of
the examples will be applicable to any Object Oriented language.

Java Specific
Don't use new String(...)

Collections
Don't put different types in your Collections

Variables
Don't define all local variables at the top of your method
Name your "temporary" variables well
Don't use instance variables to shorten method signatures

Loops
Loops should have one output
start, Rev. 10, Last changed on 2008-01-10 03:06, 497 page hits
Help others to find those things you like

Have you already seen the new Tag it! button on the top right of the wiki pages?

Look into the tag cloud
Wiki hosted for free at wikihost.org || RSS-Feed || GeboGebo 1.3.3 || 00.790 seconds || || PAGERANK TOOLS