Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: why not promote the plague ? (brace|rc|alternative|modern) syntax






Of the people that i've personally seen rave about it over the past 20 years, it starts and stops with finding it aesthetically pleasing, nothing technical.


What matters is robust code.  I've been convinced that:

for (( ...))
{
...
}

... is stable, but for everything else stick with do/done  or then/fi.  Dunno, maybe there should be a warning in the manual as to the potential trouble with the alternate syntax.  Use at your own discretion.






Messages sorted by: Reverse Date, Date, Thread, Author