On 14-Aug-2010, at 07:40, Tom Hageman wrote:
>
> On Fri, 13 Aug 2010 12:39:23 -0600, LuKreme wrote:
>> 1) nothing (;)
>
> When I came up with this line of noise, I guess I was too lazy to
> remember whether or not a semicolon was required after {. It's partly a
> matter of style, I think; if I were to make it a multi-liner I would write
> it as:
>
> /^Pages /{
> s///
> ...etc..
> }
>
> so in my mind I just substituted the newlines with semicolons.
I would do the same thing, actually. The initial semicolon is not needed, but
it balances the compound statement in my mind, and it makes it easy to go from
single line to multi-line function and back.
--
and I lift my glass to the Awful Truth / which you can't reveal to the
Ears of Youth / except to say it isn't worth a dime
_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk