r/javascript • • Sep 23 '19

You might not need a framework

https://medium.com/@pljeskavicica/you-might-not-need-a-framework-79444bda50d2
70 Upvotes

129 comments sorted by

View all comments

-2

u/PsychologicalGoose1 Sep 23 '19

Personally I'm never going to take 'framework' advice from someone who states React in the list of 'frameworks'. Framework has a definition and React does not meet that definition. Glancing over that immediately makes me discount opinions of the author as undereducated on the topic.

Custom made 'frameworks' are an incredible waste of time unless your company is of the scale of a major player and you have some unique advantage that others don't have. Let the big dogs do the huge work to have a great system and focus on creation with that tool instead.

2

u/AngryParsley Sep 23 '19

This is pedantry. It's just like people who say, "Linux isn't an operating system. It's a kernel."

If you hear someone say "Linux", people know what you mean: "Linux and systemd and GNU binutils." Likewise, when you hear someone say, "We wrote our app in React.", you know they mean they wrote their app in React, redux, react-router, and a half dozen other libraries.

-2

u/PsychologicalGoose1 Sep 23 '19

Pick me up in a truck, brings a car. Where can I put this large item that only fits in a bed of a truck? They are largely the same, but have different uses and meanings.

It's not a minor detail when React is missing a LARGE piece of what it means to be a framework. So no, it isn't pedantry just because you or this author doesn't understand the meaning of the terms or that people use them interchangeably. When I go to an article and see incorrect assumptions from the beginning then it quickly is thrown out.

And no you don't 'know' that what they wrote their app in. You assume that, and if you work with many teams from different companies you will quickly be made a fool for assuming that.

3

u/AngryParsley Sep 23 '19

And linux is missing a large part of what it means to be an operating system. It has no init, no userspace, and no GUI. Of course, everybody knows what you mean when you say, "Linux." and to point this out is (as I said before) pedantry.

I've worked on 4 different React projects at 3 different companies. They all used redux and react-router. Obviously I'm going to check the package.json if I'm actually contributing to the codebase, but it's a reasonable assumption to make in conversation. Sure it's possible to use reflux or backbone. It's possible to avoid jsx. Just like it's possible to have a linux distro without systemd, or with BSD binutils, or with a tiling window manager. Still, if someone says they use linux, it's reasonable to assume they're running the default stack unless they elaborate. So too with people who say they're using React.

-1

u/PsychologicalGoose1 Sep 23 '19

But here is the thing, it's not. React doesn't guarantee any of those things that you said. It's an assumption that you make. Which is WRONG. Simply put don't say React is something it isn't. Framework and library have a meaning and misuse of them leads to errors in implementation. We shouldn't be misusing the term but instead enforcing a better understanding of what the terms mean. This is a large problem with our industry as a whole. Other engineering or science related positions wouldn't let misuse of terms stand long term through and industry and push those incorrect meanings.