top | item 43228338

(no title)

yolo3000 | 1 year ago

The fragmentation this creates is not worth it, we're building the tower of Babel of web technologies. If you look at 'modern' web applications every html component is rephrased into something like this 'inlinestack' crap.

discuss

order

yurishimo|1 year ago

The tower of Web Babel was built 5 years ago during peak React. It’s gotten better tbh as more competition has creeped into the web space due to React dropping the ball and resting on their laurels.

While I understand the gut reaction to seeing something like InlineStack, it’s not any different than a utility class except the abstraction has been made on the component level instead of the CSS level within a bunch of different components. The other thing is that these types of components provide a layer for abstraction that extends beyond the web. If I’m writing a app that targets web and native mobile, I can let the compiler decide which version to place in the build to take advantage of native features of the platform.

At a certain scale, programming becomes about maintaining consistency at said scale and less about the craftsmanship of an individual component. As a developer who also enjoys writing CSS and building layouts myself by hand, I understand your frustration but it’s misguided towards a group of developers who are trying to solve different problems.

We don’t need to implement everything that FAANG comes up with in their “innovation labs” and I 100% believe that there is a place for handcrafted code in applications for decades to come. But let’s not lose site of the fact that table saws haven’t replaced hand saws. They serve different purposes for different audiences and that’s okay!

nfw2|1 year ago

Not to be pedantic, but I am legitimately confused about how the babel of tower metaphor is being used here. In biblical lore, the flaw of the tower of babel was that it too successful as a unifying project. Is this what you mean in regards to react? It seems that other comment meant the opposite.

notpushkin|1 year ago

Don’t forget that components also add more runtime complexity.

Towaway69|1 year ago

I’d personally prefer to write markdown instead of html, especially when writing comments on sites like these.

But I have to know that stars represent html italic tags (and bunches of other stuff).

Thankfully this has been standardised and every markdown parser knows what stars mean. So I only have to learn this once.

Most frameworks haven’t been standardised and that’s where the frustration lies.

Abstraction is good when it becomes a commonality, bad when it remains niche.