News for hackers. Stuff that matters.
Re:How I built a fast JavaScript framework by meuk on Wednesday March 07, 2018 @10:46AM (#16537146)
Dunno, but it wouldn't surprise me. The resemblence between tables and flexboxes is also quite funny. We took 20 years from declaring the structure of table-like markup in a table to declaring it in CSS with a flexbox.

Cool, but things like this have a marginal positive effect for developers, at the cost of having to learn yet another thing, and making it harder and harder to make a reasonable webpage.

Re:How I built a fast JavaScript framework by RobLach on Wednesday March 07, 2018 @11:20AM (#16537386)
Re:How I built a fast JavaScript framework by expertentipp on Wednesday March 07, 2018 @11:36AM (#16537532)
Basically a table but instead of HTML elements, using CSS properties? I loathe how "let's move the concept from one separation layer into another one, or better yet - let's mix the concepts together in the same separation layer" is becoming the next big thing recently.
Re:How I built a fast JavaScript framework by exogen on Wednesday March 07, 2018 @02:00PM (#16538838)
CSS Grid does the opposite of what you claim – it fixes the mixing of concepts that previously tied HTML elements to their layout, not make it worse.
Re:How I built a fast JavaScript framework by expertentipp on Wednesday March 07, 2018 @04:43PM (#16540202)
table, td, tr, etc are perfectly valid and semantic HTML elements. Are HTML5's footer and header elements broken as well, shall we expect "footer-" and "header-" CSS properties in 5 years?
Re:How I built a fast JavaScript framework by exogen on Wednesday March 07, 2018 @07:51PM (#16541358)
I have no idea why you keep bringing up <table>. It is totally unlike CSS Grid and completely unrelated in every way.

CSS Grid is for layout, not tabular data. It allows you to move the presentation of your elements around at different breakpoints regardless of your markup structure.

In general I recommend understanding a feature before you spout off nonsense about it.

Re:How I built a fast JavaScript framework by meuk on Friday March 09, 2018 @06:37AM (#16551100)
> I have no idea why you keep bringing up <table>. It is totally unlike CSS Grid and completely unrelated in every way.

I disagree. Conceptually, it is exactly how you would do layout in the old days. This still works, btw, it's just considered bad practice.

It's a bit like saying that a kitchen knife is totally unlike a dagger and completely unrelated in every way, because the former is for slicing food and the latter for stabbing.

Re:How I built a fast JavaScript framework by exogen on Friday March 09, 2018 @12:05PM (#16553100)
I'd say it's more like comparing a horse to a car:

Horses were never really "vehicles." We just misappropriated them that way, because they just happen to be big and move around and we can sit on them. Cars are purpose-made to be vehicles for humans.

If a designer shows you their wireframes with their grid lines drawn on top of it, I don't think many people would think "ah! so it's like in a science paper when they're printing the raw data from their experimental results in tabular form."

The fact that some web developers consider them alike is a historical accident.