3 ms·
My impression of declarative programming is that it looks good in the "Hello, world" and other basic examples because you don't have to dip into the escape hatc
by kerkeslager 6y ago
My impression of declarative programming is that it looks good in the "Hello, world" and other basic examples because you don't have to dip into the escape hatches. But when presented with real-world problems, you end up spending more time trying to get their framework to do what you want through the escape hatches than if you had just written your own program using a normal programming language and a well-designed library.
- BiteCode_dev 6y agoYou can use a normal language to well design a declarative library. That's the point.
- kerkeslager 6y agoYou're just throwing terms around here. Something like Django or Rails, is no longer just a "declarative library" it's a framework. You're using their patterns, and you're limited to their escape hatches.
- BiteCode_dev 6y agoNever talked about frameworks. Declarative is just a paradigm, you can use any language to design a declarative API. Nox, pydantic and sqla are examples of it.
- kerkeslager 6y agoI'm not familiar enough with any of those tools to evaluate what you're saying. :shrug: