Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Programming Mess
Message
From
07/05/2013 09:54:10
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
06/05/2013 20:35:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01572688
Message ID:
01572869
Views:
75
>In 35 years I have never seen such a thing as self-explanatory code. Does not exist.

Nobody's pertefc.

I'd go with the next best thing - the code which is clear to the guy who needs to maintain it, and doesn't lead him to wrong conclusions about how it works, contains no misnomers, no dead code, and doesn't use esoteric tricks (or explains them in clear language).

I know things that throw me off when reading code I am supposed to fix:

- code which never really worked yet nobody told me so - I waste thirty minutes trying to figure how and it just won't

- unused variables, code in blocks which never execute (the condition is never met)

- variables initialized elsewhere, with cryptic or wrong names

- obsolete or just plain wrong comments

The rest, like "if x=.t." and other unnecessary pieces of code, bad formatting, ten-line screen concatenations instead of textmerge, not normalized long logical expressions - that is only annoying but not an obstacle.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform