[ale] found a bug in an open source API: It 'Broke' under linux.
Michael Trausch
mike at trausch.us
Sat Feb 12 22:36:53 EST 2011
I tend to put such things all on one line anyway, to make it abundantly
clear that it can't be accidentally seen as a block. At least if it doesn't
go past column 80.
--
Sent from my phone... a G2 running CM7 nightlies!
On Feb 12, 2011 5:38 PM, "James Sumners" <james.sumners at gmail.com> wrote:
> Agreed. I don't have any problem with a one liner. But I'm shifting my
> thinking to even excluding those.
>
> On Sat, Feb 12, 2011 at 5:11 PM, Tim Watts <tim at cliftonfarm.org> wrote:
>> About the only time I'll omit braces is with
>> conditionals that are one-liners (and sometimes not even then):
>>
>> if (log.isDebugEnabled()) log.debug("now i'm opening the pickle jar.");
>
>
>
> --
> James Sumners
> http://james.roomfullofmirrors.com/
>
> "All governments suffer a recurring problem: Power attracts
> pathological personalities. It is not that power corrupts but that it
> is magnetic to the corruptible. Such people have a tendency to become
> drunk on violence, a condition to which they are quickly addicted."
>
> Missionaria Protectiva, Text QIV (decto)
> CH:D 59
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110212/096fc768/attachment.html
More information about the Ale
mailing list