3 ms·
there’s a lot of different perspectives on what declarative actually means but in my view it means creating a description of what you want rather than how you w
by Aqueous 6y ago
there’s a lot of different perspectives on what declarative actually means but in my view it means creating a description of what you want rather than how you want it done. in that sense I think the article qualifies. what you have above is also declarative in the sense that you are describing rules, not how to solve for them. i believe this is kind of declarative is ‘constraint programming’ and also qualifies.
- naringas 6y agoI agree, my go-to example of declarative programming is SQL you say what you want, and the DB figures out how best to get it.