Ricardo Magalhães
2 min readFeb 8, 2017

--

I feel like I have to drop my 2 cents here (it is the Internet, after all!).

Your points on the flaws of most frameworks are, for the most part, spot-on, but I feel that you’re conveying the wrong message. In fact, and please don’t view this as any kind of hating on what you just wrote, but it seems like you’re a bit confused yourself with what it is you’re trying to express.

You begin with the premise that all frameworks are terrible, moving to why all frameworks are wrong. There is actually quite a big difference here, because you could never advocate for the use of a front-end framework (which you do, and that’s wise) if you really felt all of them are plain and simply wrong.

Yes, there is always a benefit/cost ratio to using any framework… at all. If we took all the knowledge from the weak points you’ve identified and had built a framework upon that, it would quickly be labelled as heavily flawed by someone else. The point of choosing a framework is to cleverly analyse what’s the benefit, what’s the cost, and how does those suit me and team’s needs… in other words: to learn about the compromise. You’re also missing the point that frameworks evolve and get better over time (generally), they’re not static tools stuck in time like a hammer or a screwdriver. If Vue’s CLI sucks now, there’s enough folks in the community who will make it better very very soon.

As with patterns like Redux, it all comes down to preference, but it’s pretty hard to argue that it hasn’t solved more problems than it created. While it could be argued that it’s flawed (it has indeed many unknowns and hidden complexity), is it fair to say it is wrong when it so clearly solved the pains of so many applications out there in the last couple of years or so?

No tool is perfect, and no framework will ever please everyone. That’s okay, because that’s exactly how and why they evolve, mutate, get scraped. It’s incredibly important to be aware of their flaws before making a decision on which to use, yes, 100% agreed! But to say any of them is wrong… now you’re just fishing for a Buzzfeed-y article 😉

--

--

Ricardo Magalhães
Ricardo Magalhães

Written by Ricardo Magalhães

I work for the Internet. By day, a front-end web developer with a passion for typography and design. By night, I’m sleeping.

No responses yet