Re: Assigning variables in if's
- From: Toby A Inkster <usenet200711@xxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 13:22:01 +0000
taps128 wrote:
or more readable(to me)
Readable perhaps, but boring. echo (true === ($err = somefunc())) ? 'ok' :
"error: $err"; is fun. It invites the reader to explore its mysteries; to
embark in a journey of discovery, a quest filled with a sense of awe and
wonder. And in a sense it helps the reader to uncover new things about
*themselves* and unfold the secrets of their very souls.
Plus it saves almost 30 bytes.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 4 days, 20:07.]
[Now Playing: Keane - On a Day like Today]
Sharing Music with Apple iTunes
http://tobyinkster.co.uk/blog/2007/11/28/itunes-sharing/
.
- Follow-Ups:
- Re: Assigning variables in if's
- From: Gordon
- Re: Assigning variables in if's
- From: Pavel Lepin
- Re: Assigning variables in if's
- References:
- Assigning variables in if's
- From: jodleren
- Re: Assigning variables in if's
- From: Captain Paralytic
- Re: Assigning variables in if's
- From: jodleren
- Re: Assigning variables in if's
- From: Toby A Inkster
- Re: Assigning variables in if's
- From: taps128
- Assigning variables in if's
- Prev by Date: Re: Distinct Name with date Order by date
- Next by Date: Re: Assigning variables in if's
- Previous by thread: Re: Assigning variables in if's
- Next by thread: Re: Assigning variables in if's
- Index(es):
Relevant Pages
|
Loading