A rules engine is all about providing an alternative computational model. Instead of the usual imperative model, which consists of commands in sequence with conditionals and loops ... rules, each of which has a condition and an action - simplistically you can think of it as a bunch of if-then statements.
i.e.:
Selector lists are conditions.
Property lists are actions.
Specificity and source order govern rule priority.
So in writing CSS you are composing rules for a domain specific rules engine which drives the visual design of the page - what is not to respect?
Can you transfer a CSS program into a Turing machine? Is it eqvivalent to Turing programming language?
IF you can prove that, THEN CSS is a programming language.
Prolog is a logical declarative PROGRAMMING language, and Still are declarative.
Being declarative, as plain SQL also are, doesn't make it a programming language. As SQL neither are.
Does that mean that People that are skilled in CSS or SQL are worth less respect than those skillfull in Prolog or JavaScript?
Of course not.
The original question is made so it start this toxid thread.
CSS are not a programming language, and that is fine. And that doesn't make CSS not SQŁ less important.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
MDN Web Docs Glossary:CSS:
Digging deeper...
Martin Fowler Bliki: RulesEngine:
i.e.:
So in writing CSS you are composing rules for a domain specific rules engine which drives the visual design of the page - what is not to respect?
Thank you for your answer. This isn't what I meant, but it is the most accurate answer, I think.
Can you transfer a CSS program into a Turing machine? Is it eqvivalent to Turing programming language?
IF you can prove that, THEN CSS is a programming language.
Prolog is a logical declarative PROGRAMMING language, and Still are declarative.
Being declarative, as plain SQL also are, doesn't make it a programming language. As SQL neither are.
Does that mean that People that are skilled in CSS or SQL are worth less respect than those skillfull in Prolog or JavaScript?
Of course not.
The original question is made so it start this toxid thread.
CSS are not a programming language, and that is fine. And that doesn't make CSS not SQŁ less important.