News for hackers. Stuff that matters.
Re:Principle of Least Astonishment by r00fus on Monday April 06, 2020 @06:24PM (#22798477)
So does this mean that JS does satisfy the principle of least astonishment for an experienced c-coder (something important when it was developed in the early 2000s)?

In what language (other than a RPN based language like Lisp) would this expect to return something meaningful?

Re:Principle of Least Astonishment by saagarjha on Wednesday April 08, 2020 @05:56AM (#22811529)
Yes, you could say that. It preserves the order of operations and “reverse-truthiness” (i.e. boolean-to-integer) conversions from C.