| ▲ | cma256 4 hours ago | |||||||
If your only target is web then there is no benefit other than a reduction in complexity. For example, a "row" is not just a "<div>" tag. Its a div which horizontally fills its container. Centering contents with a "center" style attribute abstracts flex-box, browser compatibility, version compatibility, and the cascading behavior of CSS. You move the incidental complexity of the web platform into the compiler which will always do the right thing. And in exchange you get the option to compile to a native or mobile app for "free". | ||||||||
| ▲ | 0x3f 4 hours ago | parent [-] | |||||||
I think I much prefer semantic elements like <section> over something like <row>. Calling something a row bakes in presentational information. Something that's a row on one screen size might be a column on another. | ||||||||
| ||||||||