[[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, 515 page hits
Wiki hosted for free at wikihost.org || RSS-Feed || GeboGebo 1.3.3 || 01.062 seconds || || PAGERANK TOOLS