Comment

Comment by klipt

> I’d argue that programs without state are just easier to reason about and debug

Right, isn't the fundamental trade-off between programmer efficieny and runtime efficiency?

Immutable structures are easier to reason about, but almost always run slower than their mutable counterparts.

The holy grail would be immutable structures that are equally performant, but I'm not sure that's even mathematically possible in general.

parent klipt 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton