General information
Category:
Object Oriented Programming
>>>How about using only one return statement in the function/procedure? I know, it's could be very difficult...
>>
>>My preference is like Frank's. Multiple returns is good:)
>>Cetin
>
>Read his reply in the thread <g> I use this myself, but always with a slight feeling of guilt...
You should have absolutely NO GUILT about using multiple returns.
It remains my conviction that this "axiom" of programming was introduced when languages offered BRANCH and GO statements.
VFP has none of this stuff (GO is not to code in VFP) so that axiom does not apply. Period.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only