[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
error-prone infix [was Re: Curly braces]
Guy Steele - Sun Microsystems Labs <gls@labean.East.Sun.COM> writes:
> Oh, c'mon; it's no worse than when people write
>
> (-b + sqrt(b*b-4*a*c)) / 2*a
>
> when it should have been
>
> (-b + sqrt(b*b-4*a*c)) / (2*a)
Guy is perhaps subtly pointing out that my infix example contained two
errors, not one as I intended. Did I unwittingly strengthen my own
point? Or maybe I just weakened the illusion that people who know how
to program in Scheme are all amazingly great programmers.