Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Bug, who's seen it?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00304389
Message ID:
00304860
Views:
35
Hi George,

>If performance isn't an issue with the code, then don't, because you ultimately do harm to the readability. I've always maintained that, "If it ain't readable, it ain't maintainable." Further, I realize that I'll spend more time in maintenance and modification (updates, etc.) than anywhere else.

IMHO, early outs are may be more readable:
if lCond1 or lCond2
    *Get out now if not enough stuff
    MessageBox('hey dummy!  You messed up')
    return .f.
endif

*200 lines of Code

return .t.
And when is performance not an issue? ;-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform