News for hackers. Stuff that matters.
Re:Less is more: language features by zak_mc_kracken on Tuesday April 14, 2015 @01:44AM (#9372325)
A program that's harder to prove correct is not necessarily incorrect.

I'd actually argue that most of the software that runs our lives today is impossible to prove correct and yet seems to be doing quite alright overall.

You're setting up a similar false dichotomy as people who say that programs that ship without automated tests are worthless and broken.

Re:Less is more: language features by sink on Tuesday April 14, 2015 @02:43AM (#9372485)
Nah, I am saying two things:

1. Mutability makes your program harder to reason about.

2. There are better ways to spend your time than writing tests for conditions that could not exist with pure functions.

You could totally extrapolate a ton of statements from those two statements though. But I'm not doing that now, and not here.

Re:Less is more: language features by mpweiher on Tuesday April 14, 2015 @02:31PM (#9376317)
> 1. Mutability makes your program harder to reason about.

How so?

Re:Less is more: language features by sink on Tuesday April 14, 2015 @04:15PM (#9376977)
I give an example in a sibling (cousin?) comment here: https://news.ycombinator.com/item?id=9372280