Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

OK,

Let's imagine there are two kinds of language/program bugs.

1) A given expression does not mean what you think it means. 2) A given series of expression all mean what you think they mean but the combination of them isn't what you think it should be.

I would submit that bug type #2 is the main sort of bug that's going to bite you and bug type #1 is relatively benign (if occasionally infuriating). Especially, even in language with obscure syntax and hairy ambiguity, you can pepper your code with asserts and track down your problem reasonably quickly.

I have been assure that functional programming does help with bug #2. I would love some detailed blog post akin to this which says how.

This article seems to deal entirely with bug type #1. Show me how functional programming deals with bug type #2.



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

Search: