DEV Community

Discussion on: Imperative vs Declarative Programming

Collapse
 
loujaybee profile image
Lou (🚀 Open Up The Cloud ☁️)

Ha, that is true. The declarative term somewhat misleading. In reality, it's a scale. From very imperative, where every instruction is explicit, to not as imperative. Only when you get to the other end of the scale (not imperative at all) is it truly "declarative"... but that's (in theory) impossible. Nothing can know merely from "I want a cake" exactly what to do, some assumptions and some steps must be given.