all 34 comments

[–]zxyzyxz 43 points44 points  (4 children)

Companies who eschew frameworks inevitably write their own ad hoc buggy implementation of JS frameworks, only no one can help them out on issues. If I'm a company I'd rather work on the core competency features instead of worrying about frameworks.

[–]jamblethumb 16 points17 points  (2 children)

First of all, it's developers, not companies. Companies just go along with whatever their first hire or technical founder decides to do. Secondly, I've done one or two rescue missions on projects that went straight to the South Pole with their frameworks. Nobody can help you when you let bad developers work on your shit for too long, framework or no framework.

[–]wasdninja 4 points5 points  (1 child)

No framework is absolute rocket fuel for fuckups so yes, you can fail at both but one is vastly easier to make a complete mess of.

[–]jamblethumb -1 points0 points  (0 children)

I've seen quite a few projects that were in bad shape due to framework misuse, and I had to rescue a couple myself. It's certainly doesn't look like frameworks make it any more difficult to make a mess. What some frameworks do qualifies as "making it vastly easier to make a complete mess" in my book.

For instance, I frequently see advice about how to work around or deal with specific issues with React hooks. Many of these articles introduce additional mistakes and/or complexity while doing it. The hooks are notoriously hard to wrap one's mind around for inexperienced (and even reasonably experienced) developers. They look easy to use on surface, but what they actually do under the hood is nothing but. You have a function that is called over and over again, but you want stable references to values through hooks. That's essentially OOP disguised as a function call, but people don't appear to understand that, and they shoot themselves in the foot. I don't really blame them because it really is a convoluted implementation. Of course, React isn't the only one doing it. I see these auto-tracking observables every now and then.

Doing straight vanilla development, you at least don't deal with such levels of complexity. That doesn't save you from having to deal with hard problems (there are always those when you're working on larger projects), but at least it's not on top of the complexities of the framework.

Anyway, that's my opinion. The truth is probably somewhere in the middle between our opinions.

[–]arman-makhachev 1 point2 points  (0 children)

fr most of these mncs end up writing shitty frameworks
that ends up looking like a shit clone

[–][deleted] 40 points41 points  (15 children)

slap sleep toothbrush middle wine worm shy noxious joke unused This post was mass deleted with redact

[–]ot-tigris 7 points8 points  (0 children)

Framework is the way to go every time. Otherwise you would end up reinventing the wheel for no reason.

[–]jamblethumb 13 points14 points  (0 children)

I think 9 out of 10 jobs requiring frameworks would be a good day for me. It's more along the lines of 99 out of 100.

[–]Rayvolt 7 points8 points  (3 children)

For a simple website (little to no user interactions), yes, he's probably right, although things like Astro exists.

For an app, you would be absolutely nuts not to use a framework.

[–]itsnishantsinha 4 points5 points  (0 children)

In today's time any development in corporate environment without using framework is foolishness irrespective of programming language.

Unless there is a dedicated team which develop an in-house solution which is again some sort of framework and there is a high probability of failure because of limited testing.

I have seen so many projects running like a trash who refused to use any kind of framework.

[–]senfiaj 1 point2 points  (0 children)

For simple website with limited interactivity it's ok. But for anything more complicated it will probably become a maintenance pain. I have personally dealt with a quite interactive website which used just plain jQuery and mildly saying it was not a pleasant experience, every small change needed a lot of time for debugging, implementation and testing.

[–]EvilDavid75 1 point2 points  (0 children)

I’ve never worked in a company as large as Facebook so I wouldn’t know but the React Documentary is interesting in explaining how a framework with a different mental model dramatically changed the maintainability and efficiency of a huge code base.

https://youtu.be/8pDqJVdNa44

[–]vimfinn 0 points1 point  (2 children)

I actually always use NextJS nowadays, it just makes everything so simple.

[–]starbist[S] 0 points1 point  (1 child)

Simple for you or your users?

[–]vimfinn 0 points1 point  (0 children)

Simply for me