Hacker News new | past | comments | ask | show | jobs | submit login

When you are expected to write tests for your code, you will be happier if that code uses functional patterns. Functional code can usually be tested without the complex mocking many developers are used to relying on.

For me, as a UI dev, there are a lot of repetitive tasks. FP allows me to know that the Lego pieces all work as they should.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: