News for hackers. Stuff that matters.
Re:Scala – The Simple Parts by dllthomas on Tuesday May 13, 2014 @06:27PM (#7741034)
Even polish notation benefits from +, IMO.

+ + a + b c d

We can also (with mainstream OO syntax) make add infix and it's still ugly:

a.add(b.add(c)).add(d)

Re:Scala – The Simple Parts by lmm on Wednesday May 14, 2014 @09:37AM (#7743613)
> + + a + b c d

Yuck, really? I find that much less readable than "add(add(a, add(b, c)), d)"

Re:Scala – The Simple Parts by dllthomas on Wednesday May 14, 2014 @09:56AM (#7743701)
shrug I've probably done more rpn. A huge component of "readable" is "how similar is it to stuff I am used to reading".

I do have to read it backward and build the stack, but that's basically intuitive at this point.