Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm sorry you have this experience. I think the most confusing part of React for me was that even though JSX looks like HTML, you're actually not interacting with HTML at all. At its most basic you're just giving React a `[{ type: 'div' }]` and it will create and manage an actual <div /> for you.


it's not that. it's the rationalization through imagined differences. A forceful separation and grouping of equivalent things into difference categories and a dictation of their interaction by segregation in the name of more "organized code".

Things do adhere to a structure under its guise, it's an accurate statement. But it's an arbitrary one that's of dubious and most likely negative value.

The reality of maintenance, deadlines, budgets and number of engineers working on the projects seem to suggest the impact is overall negative.

There's two reasons this stuff sticks around:

1. Counterfactual testing can't ever be done to test without ... You can't rerun the project with the same initial conditions and do some kind of clean demonstration of it being a hindrance.

2. Even if #1 was achievable, there's other reasons people do not want to admit to it. And this is especially applicable to an authoritarian framework such as react that enforces doctrine by explicitly disallowing heretical code

Political scientist Adam Przeworski claims authoritarianism can reach a stable configuration "mainly on lies, fear and economic prosperity":

* There needs to be an economic value to the doctrine perceived in the mind of the prospect.

* There has to be a fear of losing out or falling behind by not adhering to the orthodoxy

* The core claims have to be fundamentally, exhaustively and obviously fraudulent.

React checks #1 and #2 and for #3 they claim simplicity, painlessness, ease of use, all of these are profoundly fraudulent claims as anyone who has extensively worked with it knows.

This is why it's become a stable authoritarian system.


But you also never had to use JSX and the old docs showed without.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: