Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Style sheet language*
But it's turing complete, so maybe could be called a prog language? :P -
Depends on the definition of programming language.
In my opinion CSS can be seen as a programming language nowadays. I have written a HTML and CSS only calculator. As soon as one can write logic using variables and perform calculations with them its a type of programming. -
-vim-31257y@Codex404
Well, imho, as soon as it is turing-complete (actually the possibility to have access to the two basic logic gate makes most thing turing complete) we can call it a programming language, but the way most people use HTML/CSS is not as a programming language. -
-
@dotPy why do you blame me? Ive come with arguments why CSS is a programming language, I havent seen arguments why it wouldnt be.
-
dotPy57687y@Codex404 well lets start with what is CSS and what was it intended to be used for, a programming language must be able to perform logic thats correct but even if css is able to, it still wouldnt even be classified as a programming language, there are more qualifications to filled in order to be classified as one.
if you dont believe me, please consult an expert on such, they may have the same arguments as you, but they simply wouldnt classify css or html as a programming language, yet a just a markup language -
@dotPy if its something not its a markup language. HTML is a markup language.
But what are those qualifications? I want my mind to be changed. -
dotPy57687y@Codex404 yes im glad we settled this with trying to understand each others argument so here are some sources that might support mine
https://en.m.wikipedia.org/wiki/...
https://softwareengineering.stackexchange.com/...
https://softwareengineering.stackexchange.com/... -
@dotPy according to the first link css is a programming language, will ch eck the other two later
-
dotPy57687y@Codex404 why not this, give me an example of css doing calculation like you said it was capable of, then i will explain why it isnt a programming language
-
@dotPy your source is old, in 2016 it wasnt a programming language. Nowadays there are variables and its possible to make logic with it.
If I can find my fully css calculator I will share it, otherwise I will try to recreate it this weekend. -
dotPy57687y@Codex404 yes but remember, it has to be pure css with no other than itself to run then i might consider it to be one
-
@dotPy I cant find my CSS calculator with more readable code but this is a really old one by someone else: https://experiments.hertzen.com/css...
-
dotPy57687y@Codex404 i have read the article and i say its pretty clever how he did it, but then again i would say that this is a hacky approach to a very basic arithmetic calculation. I still say that CSS is not a programming language, despite its capabilities, it was never intended to be one either so i doubt that it will ever be. it is a clever markup language though
-
dotPy57687y@Codex404 though i havent used brainfuck in a while, it is quite a challenging language. Brainfuck was from the beginning intended to be a very limited programming (only having 8 commands to work with) but this was to challenge programmers to think differently and make use of brainfuck’s limited functionality to limitless imagination. While css was never intended to be a programming language yet someone made it possible to do so.
The sub title says “programming language” yet the description says “markup language” get yo shit together google
rant