5 ms·
CSS is not a programming language, and it shouldn't be viewed or compared as one. It has different functionalities.
by pmlnr 8y ago
CSS is not a programming language, and it shouldn't be viewed or compared as one.
It has different functionalities.
- exogen 8y agoIt's a language either way, whether you consider it "programming" is not really important. So, good luck with that. I live in the real world where it's used almost exclusively by programmers.
- gaastonsr 8y agoCSS is a tool used by web developers to style their websites. Whether technically it's a programming language or not is tangential.
- jandrese 8y agoPeople implement Doom in CSS. It's clearly more than just some style notes for the browser.
- gmanley 8y agoI think you may be confusing that with something else. You can't create a complex game with just CSS. I'd love to be wrong but provide a link.
- jandrese 8y agohttps://codepen.io/chrissimmons/pen/bqBabr https://codepen.io/chrissimmons/pen/bqBabr It's off brand, but the technology is roughly the same. Another game: https://thenextweb.com/dd/2018/05/08/some-madman-built-a-mario-kart-clone-in-pure-css/ https://thenextweb.com/dd/2018/05/08/some-madman-built-a-mar...
- gmanley 8y agoThe first one looks like a big part of the functionality is from the JavaScript file. It's crashing my iPhone so I'm having trouble digging into it too much. The second link, however, does seem to be done in pure css. Impressive! Thank you for the links. I stand corrected.
- jsight 8y agoThat limitation is why people like the article writer often replace it with a programming language.
- pmlnr 8y agoIt's not a limitation. It's different.
- ringaroll 8y agoIts different and it a poor lang. The only people advocating for css only are privacy freaks. They're often the least return producing customers, hence ignored.
- afiori 8y agoAs far as I understand there are very good sides of CSS, as a declarative constraint language. More than being a poor language it looks like it is hard to use it for modern web development.
- LocalPCGuy 8y ago> The only people advocating for css only are privacy freaks. This just is not true. It may be your opinion, but it is objectively false, particularly in the context of this discussion.
- ves 8y agoIt is absolutely a limitation, because there are things you can express in other languages that you cannot in CSS. But a limitation isn’t necessarily bad, and is often good. Finding the language of least power (ie it is just powerful enough to express the sorts of things you want, and no more) is very useful for safety and productivity, but in CSS’s case it seems like it’s no longer powerful enough to express all the things its users desire.
- jsight 8y agoIt is both. Whether you consider that a good or a bad thing is an entirely separate issue.
- marcinzm 8y agoIsn't CSS (with HTML) Turing complete?
- k__ 8y agoAs far as I know, Turing completeness isn't essential for being considered a programming language. SQL is one, HTML too. They both tell a computer what to do.
- irrational 8y agoI don't know. I've seen people do some crazy things with pure CSS that look quite a bit like programming.