logoalt Hacker News

Stop Digging and Start Building: Why We Need Lego Parts, Not Deeper Type Systems

19 pointsby mpweihertoday at 3:06 PM5 commentsview on HN

Comments

112233today at 3:39 PM

What did I just read?

> Ever wonder why we need operating systems? They’re elaborate workarounds for the functional programming concept.

> An OS converts long-running synchronous flows of function-calling-function behavior into state machines by silently saving state somewhere deep in the system (process descriptors, stack frames, registers).

Half of the article is common sense, relatable sentiment (e.g., that FP as abstraction is really mismatched with how CPUs work).

And then there are head scratchers like the quoted bit.

josefrichtertoday at 3:49 PM

Isn't the suggested 'path forward' basically a description of Elixir/Erlang BEAM?

reactordevtoday at 3:43 PM

>”We don’t need smarter type systems, we need…”

Erlang, you just described Erlang.

FrustratedMonkytoday at 4:01 PM

Isn't this more about miss-applying functional programming? Not that these things aren't possible with functional programming.