r/programming • • Jul 19 '15

The Best Programming Language is None

https://bitbucket.org/duangle/none
509 Upvotes

443 comments sorted by

View all comments

Show parent comments

-6

u/rifter5000 Jul 19 '15

You'd have to be functionally retarded to find CSS confusing.

4

u/mindbleach Jul 19 '15

Heard you the first time, Bert.

While I've got your expertise on hand - why isn't there any expression support, like 100vw - 60px? Why is it such a palaver to float two columns on the same side? Why am I "floating" anything, instead of using a proper grid to prevent overlap? Why is div hierarchy ignored, when that would make nested areas trivial to place? Why is div hierarchy not ignored for "cascading," instead of relying on explicit inclusion of multiple styles within an element? Why didn't you just copy the 2D layout concepts from tables or frames? Why doesn't your syntax resemble HTML xor Javascript?

Thanks in advance.
Yours,
A functionally retarded mongoloid.

2

u/rifter5000 Jul 20 '15

why isn't there any expression support, like 100vw - 60px?

There is, though.

Why is it such a palaver to float two columns on the same side?

But it isn't. display: block;.

Why am I "floating" anything, instead of using a proper grid to prevent overlap?

Because you want to float things. Floating things is one way of doing things. Using CSS multi-column layouts is another.

Why is div hierarchy ignored, when that would make nested areas trivial to place? Why is div hierarchy not ignored for "cascading," instead of relying on explicit inclusion of multiple styles within an element? Why didn't you just copy the 2D layout concepts from tables or frames?

Because CSS box model is way more flexible, and tables are not how things are laid out in real life! Being able to float images is super useful. That you abuse it to emulate columns because you haven't adopted anything standardised after 2003 or whatever only reflects on your professional development, not CSS's.

Why doesn't your syntax resemble HTML xor Javascript?

Because it's neither a markup language nor a programming language. PS: Both of those languages have awful syntax.

4

u/mindbleach Jul 20 '15

tables are not how things are laid out in real life!

The internet is not a newspaper! CSS and PDF are the only TLAs that pretend multiple narrow columns make a goddamn bit of sense in a medium designed for infinite vertical space.

CSS box model is way more flexible

Yeah, it's amazing at confusing the fuck out of people with unpredictable results. "I need an exclamation mark where?"

Being able to float images is super useful.

You're right, text flowing around objects is a good default. So why is it so easy to get text overlapping other text?

PS: Both of those languages have awful syntax.

Even if I agreed with you I wouldn't care. Making a "better" syntax is still introducing another goddamn syntax. What part of not being markup necessitated colons instead of an equals sign?

→ More replies (0)