Information générale
Catégorie:
Codage, syntaxe et commandes
>David
>
>>So what's more at issue here is some other developer's misuse of the commands, not the commands themselves.
>>
>Mainly that they lead to slovenliness in code and misuse thereof. Not too bothered about the odd 6 line func., e.g. finding something in an array, in a for loop, and EXITing when stisfied, rather than continuing the loop, so long as it's in your face. Personally, I use a "do ... while ... and not llFound" for that purpose, and go the extra few yards to avoid using loop, exit. Still don't see the need for them though, in essence.
>
>Terry
>
>PS Is this thread up there with the longest and/or most contentious?
But Terry,
It is apparently your conclusion that a tendency to use EXIT/LOOP invariably results in code slovenliness. That truly is a leap of faith... a peson can write horrendous code without either and a person can write fine readable code using them all over the place.
You don't "mind" particular uses but you'd still rather not see them. This is fine for YOUR code in YOUR style, but to brand anyone who uses them as bordering on slovenly is a bit much.
cheers and EXIT
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