News for hackers. Stuff that matters.
Re:Stop Writing Reusable React Components by ralusek on Sunday December 05, 2021 @04:32PM (#29453516)
This is where coding becomes more art than science. There's an intuition that comes to knowing when it's time to abstract something and when the ad hoc implementation is better. And I do mean better, not faster, or lazier, but better. The sense among moderately experienced developers seems to be that the abstraction is always better, but it really comes down to good sense.
Re:Stop Writing Reusable React Components by przemo_li on Monday December 06, 2021 @03:45AM (#29457593)
Autor do not talk about any abstraction though.

They talk about concrete knobs and dials, bolted on in advance of actual requirements.

"Can do it all" isn't abstraction because it does not hide any details, doesn't abstract away anything.

So if we both have such a different take, please share which part of article motivated your comment so that we can compare in greater detail, if you please.