--- Curt Zirzow <[EMAIL PROTECTED]> wrote:
> I wouldn't call this lazy, more like sloppy and confusing.
>
> return (istrue()? 'True': 'False');
>
> hmm.. less typing, easier to understand and logically readable.
Well, that is arguable. :-) I'm not a big fan of the ternary operator when it
comes to readability.
Also, please don't discourage people from posting a concise example that
illustrates their question. If you tear apart the logic of their example (and
intentionally miss the point of the question), people are encouraged to post
huge lists of realistic code. This doesn't really help anyone.
Thanks.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php