[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Request For Comments: 3-space indentation style
- From: William Ahern <william@...>
- Date: Mon, 6 Jan 2014 13:21:26 -0800
On Mon, Jan 06, 2014 at 02:51:31AM -0500, Sean Conner wrote:
> It was thus said that the Great William Ahern once stated:
> > On Sun, Jan 05, 2014 at 09:31:05PM -0600, Andrew Starks wrote:
> > <snip>
> > > (At least we're not arguing for a type system or lambda notation or a
> > > ternary operator...)
> > >
> >
> > That last argument over the ternary operator totally confused me. I had
> > always correctly parsed the precedence of and/or expressions without
> > thinking. But after reading that huge thread (or threads) I totally lost all
> > confidence. I don't know why. But the mere discussion of it really messed
> > with my head. Now whenever I write a complex boolean expression I find
> > myself carefully stepping through it, like a child counting pennies
> > (centavos?) with his fingers.
> >
> > I've written ciphers, virtual machines, and all manner of other kinds of
> > code. But now I feel stumped by Lua's boolean operators. It's the worst
> > feeling.
>
> Think of the operators as:
>
> and = *
> or = +
>
I understand the precedence. I'm just saying that now I'm overly paranoid
for no good reason. Like I suffer from a passive PTSD from the thread.
- References:
- Re: Request For Comments: 3-space indentation style, steve donovan
- Re: Request For Comments: 3-space indentation style, Hisham
- Re: Request For Comments: 3-space indentation style, Jorge
- Re: Request For Comments: 3-space indentation style, Andrew Starks
- Re: Request For Comments: 3-space indentation style, phlnc8
- Re: Request For Comments: 3-space indentation style, William Ahern
- Re: Request For Comments: 3-space indentation style, Coda Highland
- Re: Request For Comments: 3-space indentation style, Andrew Starks
- Re: Request For Comments: 3-space indentation style, William Ahern
- Re: Request For Comments: 3-space indentation style, Sean Conner