Comment

Comment by groovy2shoes

It's useless to categorize things as imperative or declarative without defining those words. There aren't any agreed-upon definitions for what it means to be imperative or declarative (or functional or object-oriented...).

At this point it's mostly an "I know it when I see it" kind of thing, sometimes accompanied by a nebulous explanation about what versus how. There is a difference that programmers can feel, but we find it very hard to communicate that difference. Even at that, virtually every language has some aspects that are imperative and some that are declarative.

Without definitions (preferably rigorous ones), the only thing a post like this will accomplish is starting a flame war.

parent groovy2shoes 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton