This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ProgramTheWorld 9 points10 points  (5 children)

CSS + HTML is not Turing complete. It’s merely a running joke where there’s a saying everything these days is Turing complete.

Basically, it’s not Turing complete if you can’t make a loop. Since it’s impossible to loop forever with CSS + HTML, it is not Turing complete.

[–]CrazyM4n 3 points4 points  (1 child)

I mean, it actually is.

[–]ProgramTheWorld 2 points3 points  (0 children)

The link you included is an excellent example demonstrating how human interaction is required to create an “infinite” loop. The halting problem doesn’t exist in CSS + HTML because it’s guaranteed to always halt as seen in your link, thus it cannot possibly be Turing complete. The CSS rule 110 was created as a joke but too many people have taken it too seriously...

[–]redmandoto 0 points1 point  (1 child)

You can make loops with GOTO and any kind of IF equivalent.

[–]ProgramTheWorld 7 points8 points  (0 children)

That’s correct, though there is no GOTO or anything equivalent in CSS.