23 Jul 97 20:03, Thomas Maeder wrote to Asher Densmore-Lynn:
AD>> Code readability, and it makes it easier on the compiler, but the
AD>> fi the real one. Nothing but code readability. I programmed in
AD>> BASIC fo long; it was very painful to convert to C, but once I
AD>> managed, I was
TM> I find code more readable if variables are declared where they are
TM> used.
Personal habits. I interpret, debug, and adapt many, -many- more
lines of code than I write, so I want to be able to grasp functions quickly.
Well-named variables all grouped together at the beginning of a function go a
long way to doing that. (:
Asher Densmore-Lynn
... Constants aren't; variables don't.
--- Squish v1.11
---------------
* Origin: Phaenix Rampant, 'Uhm... I hit it again!' (1:130/115)
|