>>I propose a new law that says everyone who does not indent the CASE lines in a DO CASE...ENDCASE should be fined $1500 per instance.
>>
>>:-)
>
>
>IF I could get just $1 for each instance of code that I do not like it, I would be rich, RICH!
>
>The most expensive fine I would deal would be for those coders that use ELSE instead of OTHERWISE in a case statement, it is JUST PLAIN WRONG!!! :)
I did not even know you could do that. I tried it just now and it compiled without error, but it seems like it's dead code that's never accessed. The behavior was different than OTHERWISE.
What does an ELSE do in a DO CASE?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement