Hacker News new | ask | show | jobs
by mgummelt 2243 days ago
The author is incorrectly using the term "declarative" when he's really describing "imperative". Stateful OOP is in no way declarative.

It's also unclear what the thesis is. He says to not ask objects about their state, then later advocates for CQRS, which does exactly that.

1 comments

Of course, imperative programming is just the Church encoding of declarative programming.
Well, no. The lambda calculus isn't imperative.
In declarative programs you specify what the program is. In imperative programs you specify what the program should do. I don’t really see the overlap.