>SNIP
>>Peter,
>>Strongly agree. I too doesn't follow the 'one exit point' rule or even don't accept it as a rule but as pure preference.
>>From readability point I find it much easier to follow code that has 'early' returns :)
>
>Hi Cetin,
>
>I believe that a large part of the problem with this issue is that it used to be taught, in formal instruction, as a
rule.
>Certainly in the days when GO TO was a common language command (i.e. COBOL, Basic) instructor would hammer home the "rule" but I believe it was mainly to get everyone to stop using GO TOs in their code. It seems people continued with the rule even after GO TO disappeared.
>
>cheers
>
>>Cetin
Hi Jim :)
Might be.
Cetin