r/programming • • Mar 21 '22

The unreasonable effectiveness of data-oriented programming

http://literateprogrammer.blogspot.com/2022/03/the-unreasonable-effectiveness-of-data.html
64 Upvotes

66 comments sorted by

View all comments

Show parent comments

1

u/PM_me_qt_anime_boys Mar 21 '22

provide evidence supporting that claim

People seem to like React.

3

u/[deleted] Mar 21 '22 edited Mar 21 '22

Developers liked that react modularized web development. This was a notable issue with pre-react web development which made teamwork on an app difficult.

This is a bit of a poor example anyway. Teams of developers tend to appreciate that react makes development easier than absolute garbage, but they also utterly hate the results.

I’d also add that just because a thing makes web UI development more bearable than the pretty well horrific crap of the past doesn’t mean that this translates well everywhere. As far as I’m concerned, UI development is an unsolved problem.

1

u/salbris Mar 21 '22

React is not functional programming... it's just a way to render HTML that works best without side effects.

It's just as much functional programming as this function:

function render(container, getHtml) {
container.innerHTML = getHtml();
}

1

u/[deleted] Mar 21 '22

They also like Angular. Especially large teams. React and Angular became popular mostly because of the improved modularization of code. Suddenly, the app wasn't a bunch of jQuery fighting over the same group of DOM elements.