Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Re: Re: Re: Balancing Coding Time And Code Qualityby diotalevi (Canon) |
on Dec 08, 2003 at 19:40 UTC ( [id://313200]=note: print w/replies, xml ) | Need Help?? |
Oh I see. It is "style" because it made no technical difference to the code in question but would be a "style" error if the same technique were re-used elsewhere. I also call the multiple-side effect code a style error because that may be what the coder intends in that other circumstance. It may also be that the effect is similarly meaningless. My thought is that this is sort of like the use of globals and lexicals - you can write perfectly valid code using either but if you code with stylistic preference you avoid a class of errors.
In Section
Meditations
|
|