r/ProgrammerHumor • Spanish is turing complete • Dec 16 '18

The pains of CSS

Post image
58.0k Upvotes

582 comments sorted by

View all comments

Show parent comments

213

u/ArcaneYoyo Dec 16 '18

CSS doesn't really have logic, it's purpose is just to structure things and style them.

37

u/aloofloofah Dec 16 '18

SQL isn't Turing complete either but nobody thinks that Bobby Tables doesn't belong here.

2

u/TapedeckNinja Dec 17 '18

SQL-2003 is Turing complete courtesy of CTEs and Windowing:

https://wiki.postgresql.org/wiki/Cyclic_Tag_System

And of course T-SQL and PL/SQL and the like are as well.

3

u/aloofloofah Dec 17 '18

PL/SQL doesn't count, it's basically a normal programming language with querying feature. T-SQL is complete if you're are a masochist thanks to CTE (common table expressions, not cyclic tag system)

→ More replies (3)

196

u/abbott_costello Dec 16 '18

Its still programming adjacent, most programmers know what CSS is while most non-programmers don’t know what CSS is. Saying it doesn’t belong on the sub is just pedantic

71

u/UltraFireFX Dec 16 '18

yeah that's the point of his post

37

u/HankMoodyMaddafakaaa Dec 16 '18

Yeah it’s not programming, but it is coding. And it is pretty important since it’s used in pretty much any website on the internet.

→ More replies (3)

15

u/[deleted] Dec 16 '18

I prefer to program in HTML.

53

u/[deleted] Dec 16 '18

As a web developer, I'm very hurt by these comments.

27

u/JimmerUK Dec 16 '18

Shhh, just keep your head down and they let us hang around.

6

u/[deleted] Dec 16 '18

Psst. I’ve been here for years, buddy. We gotta stick together.

2

u/[deleted] Dec 17 '18

2018

not programming in PowerPoint

→ More replies (1)

2

u/mikeycamikey10 Dec 16 '18

To be fair, i don’t get 99% of posts on this sub and I understood this one. Haha not the most accurate metric but it was pretty basic.

→ More replies (1)

10

u/itsallgoodie Dec 16 '18

Technically the HTML is the structure...

15

u/hoochyuchy Dec 16 '18

HTML is the bones of the website while CSS is the flesh. The bones are merely a suggestion for where the flesh may grow, but it isn't always entirely accurate to what the flesh turns out to look like.

9

u/Reashu Dec 16 '18

Er, no, HTML is both structure and content. CSS would be... clothes?

→ More replies (1)

3

u/JimmerUK Dec 16 '18

I think you might need to meet more people before giving out analogies. I mean, it’s right, but I think maybe face to face it’s not going to come across as well.

6

u/hoochyuchy Dec 16 '18

You're right, which is why I go with the much less accurate, but more relatable analogy of a house when speaking in person. HTML is the foundation and walls while CSS is the paint, siding, and overall decoration. The problem with that analogy, however, is that it doesn't include CSS's ability to move the HTML around the webpage.

Do you have any better ones that are both accurate and not morbid as fuck?

2

u/JimmerUK Dec 16 '18

I was teasing, but the house thing isn’t quite right.

Maybe don’t use ‘flesh’ so much.

2

u/que_dise_usted Dec 16 '18

You both made my day better but im poor.

Imagine a silver icon. :D

→ More replies (6)

5

u/ArcaneYoyo Dec 16 '18

You can hide things, make things appear, make them move vertically and horizontally which to a layperson would appear like structure changes but I take your point. I think it's better to say HTML is your content

34

u/[deleted] Dec 16 '18

which it fails at yeah, i can feel that logic part

27

u/[deleted] Dec 16 '18

There is no logic to fail, it does what it does. It is work but you have to learn it and these kind of mistakes are really a good way to do it. You see it and you can work from there.

0

u/[deleted] Dec 17 '18

[deleted]

→ More replies (1)
→ More replies (2)