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

It's far closer to true than you'd think.

In my experience writing code in Haskell, you spend about 95% of your time debugging type errors and 5% of your time debugging actual bugs. The good thing about the former is that it's effectively the compiler finding the bugs for you.

Haskell is the only language I've used (obviously, not the only one in existence) where I am not surprised when a large program works correctly on the first successful compilation.

Disclaimer: Haskell is not my main language, I'm mainly a C programmer.




ADA is also good for that.


Yeah, so... bugs in the spec? Bugs resulting from i/o, unexpected input, wackiness of underlying system calls, things like that?

I guess I have a broader definition of bug than the author.




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

Search: