News for hackers. Stuff that matters.
Re:Why care about functional programming? Part 1: Immutability by taeric on Thursday March 19, 2015 @07:20PM (#9235240)
This sounds like a scotsman's argument. I could have just reassigned the value, however we have style guidelines saying they have to be final. So, yes, I could have shadowed it in another block or function. At that point, I'm beginning to question just how immutable we wan't the view of the world to be.

This gets back to my point in a sibling about more types and better organization could have helped. Sure. I'm not even going to claim that immutability caused this bug. As it didn't. It also was not a silver bullet that helped make this code bug free.

There are no comments on this comment yet.