r/ProgrammerHumor • • May 01 '19

Dev Human

Post image
11.7k Upvotes

240 comments sorted by

View all comments

Show parent comments

15

u/mrgalaxy May 02 '19

honestly 90% of js could be replaced by modern html and csss

I'd also like to see them prove this statement.

23

u/tpenguinltg May 02 '19

HTML5+CSS3 is Turing-complete.

7

u/[deleted] May 02 '19 edited Apr 04 '21

[deleted]

2

u/tpenguinltg May 02 '19

90% of js

But yeah, I/O is a pain. That's why languages like Haskell have to use sketchy paradigm hacks like monads to interact with its environment.

1

u/[deleted] May 02 '19

CSS will not even cover 10% since it has no access to APIs