|
|
Posted by Pavel Lepin on 11/29/07 14:49
Toby A Inkster <usenet200711@tobyinkster.co.uk> wrote in
<p0r225-2vq.ln1@ophelia.g5n.co.uk>:
> 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.
This particular example is very, very mild, and would be
just fine with me, but as a general rule, fun code invites
the code reviewer to explore the mysteries of the
commiter's entrails. The reason for that is that when we
need something done, journey of discovery is the last thing
we want, especially if we can only spare the least
experienced member of the team to work on the task at hand.
> Plus it saves almost 30 bytes.
Whoa, groovy. It's, like, gonna save seven and a half baby
seals due to its, like, sheer, mind-boggling environment
friendliness.
--
....also, I submit that we all must honourably commit seppuku
right now rather than serve the Dark Side by producing the
HTML 5 spec.
Navigation:
[Reply to this message]
|