©1997-2004 Canadian Mind Products
You are here : home : Java
Glossary : unmaintainable code : Program Design.
The cardinal rule of writing unmaintainable code is to specify each fact in as many places as possible and in as many ways as possible.
Roedy
// note subtle spelling change Bubblegum b = new Bubblegom();
Unfortunately the popularity of the ++ operator makes it harder to get away with pseudo-redundant code like this:
// note subtle spelling change swimmer = swimner + 1;
myPanel.add( getMyButton() ); private JButton getMyButton() { return myButton; }
That one probably did not even seem funny. Don't worry. It will some day.
home |
Canadian Mind Products | |||
| mindprod.com IP:[24.87.56.253] | ||||
| Your IP:[80.134.30.163] | ||||
| You are visitor number 2920. | ||||
| Please send errors, omissions and suggestions | ||||
| to improve this page to Roedy Green. | ||||
| You can get a fresh copy of this page from: | or possibly from your local J: drive mirror: | |||
| http://mindprod.com/unmaindesign.html | J:\mindprod\unmaindesign.html | |||