Unofficial Hacker News companion — get notified on comment replies, and more.

The need for a formally verifiable mainstream programming language (opens external site)

344 points by todsacerdoti 4 days ago | blainehansen.me | 325 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. The functional paradigm is useful to mix in, but there's a good reason almost nobody wants pure functional. It's ok to have some state. It's not a good use of time, tokens, whatever to express every little loop as recursion instead. It wasn't a good use of my time walking and building XML in Erlang. Or, even people avoiding full OOP still want to instantiate classes with dependencies, not have to pass all the deps into every level.

    Java was the laggard there, and yeah I hated Java for years. Python and JS supported functional programming from early on, yet nobody went all the way with it. Python is the leader for toy problems like coding interviews and pseudocode that should be totally doable with pure functions, but nobody does that.