Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Language localization in Javacript



2011/9/28 Raymond Wan <rwan.kyoto@example.com>:

> Forgot to mention that you probably could nest ?: -- I've
> never seen it done before but I suppose it is possible.
> However, you would probably mess up your eyesight when you
> look at your source code...  :-)

I've used plenty of nested ternaries, using Damien Conway's recommended style:

http://www.teknotree.com/maintek/ebook/perl/04perl%20best%20practices/0596001738/perlbp-chp-6-sect-17.html

Cheers,
Josh


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links