Hacker News new | ask | show | jobs
by glhaynes 5213 days ago
Very well said. I think this also promotes a mindset of making methods that either mutate state or build and return an object. It's often very difficult to follow code that has lots of methods that do both.