When you are coding, to start, forget all the exceptional cases. Focus on the code for the ordinary cases first, streamlining and simplifying it, starting from the innermost loops and working out.
Then gradually add code to deal with the oddball things. If your code is clean, you will discover that there is nothing to do. The code you have written already automatically handles the weird corner cases properly. If you find yourself adding on bits of fluff to handle every special case, relook at how you coded the ordinary cases, and see if there is a way of modifying in so the odd cases come out in the wash without special coding.
Code where everything neatly comes out in the wash is:
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.18] | The information on this page is for non-military use only. | ||
| You are visitor number 6,280. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/jgloss/comeout.html | J:\mindprod\jgloss\comeout.html | ||