3 ms·
> My guess is you just don't consider declarative languages "real programming". That's ridiculous. There's no "real" programming, and of course declarative pro
by rootlocus 10y ago
> My guess is you just don't consider declarative languages "real programming".
That's ridiculous. There's no "real" programming, and of course declarative programming is.. programming. However, with declarative programming you're still writing algorithms and doing computation (composing functions / querying predicates).
> Does it become programming if the config file is written in Python?
Is it an algorithm? No. It's just like JSON is for JavaScript.
> I don't think there is any firm line between computer use and computer programming.
Solving problems with algorithms is programming and while there is indeed a fuzzy line there, I still find it far-fetched to consider writing configuration files (which are static inputs without logic) or declaring html structure / css styles (which again, lack any logic) programming.
- erikpukinskis 10y agoCSS does have logic: div { color: red } .foo { color: blue } is equivalent to: if classes.contain("foo") color = "blue" else color = "red" How do you define algorithm in a way that excludes CSS?