CSS is not a Programming Language?
If you’re reading this; most likely you’ve come across the argument “CSS is a programming language” or the converse. Before we move on to the arguments; let’s define some terms.
What is a Programming Language?
A programming language is a formal language comprising a set of instructions that produce various kinds of output. Programming languages are used in computer programming to implement algorithms. (source: Wikipedia)
Now that I have defined a Programming Language, there is also another synonymous term commonly used: Scripting Language
Often people use the terms scripting language and programming language synonymously, but these two terms are not exactly the same. Although all scripting languages are programming languages, all programming languages are not scripting languages.
The main difference between the two is that scripting languages do not require the compilation step and are rather interpreted.
For instance, a C program needs to be compiled before running whereas, a program written in languages like Python, JavaScript or PHP need not be compiled. The latter are essential first a Scripting Language.
More often than not; I hear people say “CSS is not a Programming Language”. But here is my argument in…