Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,598,435 members, 6,030,935 topics. Date: Friday, 04 December 2020 at 12:32 AM

CSS Is Not A Programming Language? - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / CSS Is Not A Programming Language? (311 Views)

HTML5 A Programming Language Or Not / What Programming Language Is Used In Creating Viruses? / Is It Advisable To Learn Java As My First Programming Language? (2) (3) (4)

(1) (Reply) (Go Down)

CSS Is Not A Programming Language? by OlamigokePhilip: 6:02pm On Nov 19
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 favour of CSS being generically called a Programming Language:

CSS syntactically borrows principles from a Programming paradigm: A Declarative Programming Paradigm  - This essentially means Programming by specifying the result you want, not how to get it.

A declarative code may contain (...)

For a better reading experience, Check out this article on my website.

1 Like

Re: CSS Is Not A Programming Language? by branhampaul: 6:27pm On Nov 19
CSS is a programming language. Every website is programmed; they did not magically appear; codes were used in writing them. Codes are associated with programming. CSS is mostly and widely responsible for how one's website appears.

In fact, HTML is a programming language too. It has syntaxes, rules, and codes. These features are qualities of a programming language. So why should HTML be different? It cannot.

Anyone who thinks that HTML and CSS is not a programming language should provide commonsensical reasons.
Re: CSS Is Not A Programming Language? by Etinosa1234: 6:34pm On Nov 19
branhampaul:
CSS is a programming language. Every website is programmed; they did not magically appear; codes were used in writing them. Codes are associated with programming. CSS is mostly and widely responsible for how one's website appears.

In fact, HTML is a programming language too. It has syntaxes, rules, and codes. These features are qualities of a programming language. So why should HTML be different? It cannot.

Anyone who thinks that HTML and CSS is not a programming language should provide commonsensical reasons.

Dont mind me...

I'm just wondering when class rep became a programmer
Re: CSS Is Not A Programming Language? by yusman14(m): 7:34pm On Nov 19
branhampaul:
CSS is a programming language. Every website is programmed; they did not magically appear; codes were used in writing them. Codes are associated with programming. CSS is mostly and widely responsible for how one's website appears.

In fact, HTML is a programming language too. It has syntaxes, rules, and codes. These features are qualities of a programming language. So why should HTML be different? It cannot.

Anyone who thinks that HTML and CSS is not a programming language should provide commonsensical reasons.
CSS and HTML are not programming language..get that fact right..they cannot be use for scripting and does not support OOP..
HTML is a standard mark up language for a web page...The process of creating a web page is web programming..while CSS can't stand alone...it is used to beautify and edit HTML contents on the web page..CSS can select a property and act on an HTML content...
Re: CSS Is Not A Programming Language? by Karleb(m): 7:55pm On Nov 19
You people and your wahala!
Whether it's markup or scripting or programming.
It's a language.

4 Likes

Re: CSS Is Not A Programming Language? by spartan117(m): 9:47pm On Nov 19
Karleb:
You people and your wahala!

Whether it's markup or scripting or programming.

It's a language.
I tire oo! undecided

1 Like

Re: CSS Is Not A Programming Language? by fnep2smooth(m): 10:45am On Nov 20
This country self.. Na common CSS una de debate like this when Boostrap and MaterialUI don finish work for CSS head.

Making like less frustrating for frontend and backend developers.

Life no balance at all.

Re: CSS Is Not A Programming Language? by Plaouse(m): 10:12pm On Nov 20
OlamigokePhilip:


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.

.

Interpreting and compiling - What does that mean?
Re: CSS Is Not A Programming Language? by OlamigokePhilip: 10:52am On Nov 27
Plaouse:


Interpreting and compiling - What does that mean?

Interpreting a Language simply means converting it from one form to another. However, It doesn’t convert the instructions (to machine code directly) instead it works on making sure the code written conforms to the source language.


Compiling on the other hand, is aimed at converting these instructions into binary (1 and 0 bits). It generates an executable file.

Interpreted languages (one way or the other) are still "compiled". Most compile into byte-code before execution.

You can refer to these resource for more info:
https://www.freecodecamp.org/news/compiled-versus-interpreted-languages/
https://www.guru99.com/difference-compiler-vs-interpreter.html
Re: CSS Is Not A Programming Language? by Deicide: 4:37pm On Nov 27
In a layman term to explain why HTML and CSS are not programming language. Any language that cannot tell a computer what to do is not a programming language!!

(1) (Reply)

Students Vs Professionals Amid COVID-19: Survive (or) Thrive In The AI Career / I Make Affordable And Professional HTML And CSS Websites(photos) / Interprete This Javascript

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2020 Oluwaseun Osewa. All rights reserved. See How To Advertise. 64
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.