Re:Was object-oriented programming a failure? (2015)
by watwut on Sunday March 12, 2017 @10:30AM
(#13850804)
React itself does much less then what component oriented oop frameworks used to do. Achieving same functionality with react is more work. They were not on the Web tho, so the comparison is a bit weird.
[ Parent
| on HN ]
Re:Was object-oriented programming a failure? (2015)
by zzzzzzzza on Sunday March 12, 2017 @12:48PM
(#13851548)
"achieving same functionality is more work"
this is part of the advantage of react (and fp in general over oo). you don't need to incorporate an entire object to use a single extra function. The increased modularity also allows you to spread the maintenance burden of the project over a much larger community.