5 ms·
It's a case of "Nobody ever got fired for choosing X"[0]. No one would blame you for choosing React for a major project / new startup, but someone could definit
by mritchie712 4y ago
It's a case of "Nobody ever got fired for choosing X"[0]. No one would blame you for choosing React for a major project / new startup, but someone could definitely poke holes in choosing Svelte ("theres no package for X", "it doesn't scale", "we can't find devs that know it", etc.)
0 - https://www.quora.com/What-does-the-phrase-Nobody-ever-got-fired-for-choosing-IBM-mean https://www.quora.com/What-does-the-phrase-Nobody-ever-got-f...
- ricardobeat 4y agoAbsolutely. I tried to push us to try Svelte at my last job at BigCo for over four years, to replace an internal templating system. We didn't even use React or Node yet, so not only we had to convince the old guard to adopt something new, but also deal with the React-grown crowd protesting. You can't imagine the amount of flak I've taken for that. Managed to get it on a back-of-the-house system, while we built a massively complex React app for the main product. Everyone who worked on it loved it, but was still considered risky. Now that it has a gazillion GH stars and is mentioned in 1 out of 3 blog posts, of course things are much easier.
- solardev 4y agoMan, on one hand... evaluating frameworks is just part of the job, right? Same as evaluating a vendor service, or a third-party package, or an architecture or a pattern... On the other hand, novelty burnout is a real thing. Javascript has mutated so much in a short period of time that it's become impossible to keep up with -- especially once you factor in frameworks and tooling. Times like this, I wish vanilla JS/ECMAscript was more powerful out of the box. For a language designed to work with the HTML DOM -- the ONLY language that works natively with it -- it is so woefully underpowered. Why do we need a framework at all to do a simple stateful AJAX UI? =/ For many sites and apps, the business logic SHOULD be the focus of dev time, but it's not... it's implementing trivial business logic inside of the ever-growing monster that is the JS ecosystem. There are 1000 ways to do anything in JS, but never just one good way.
- neon_electro 4y agoAnd if you haven't been hyper-focused on learning every bit of "modern JavaScript" in the last 5 years, employers definitely love to disqualify you just because you were happily working on "legacy tech" instead of catching up on React and every other JavaScript-heavy approach to Web development. I'm bitter, and I'm not opposed to moving on and learning this stuff, but it's like employers barely understand the value of HTML/CSS relative to how much React is prioritized/used as a single qualifier. I have "1-2 years experience" with React & friends if that matters, and I consider myself a 10 year Web development vet.
- SebastianKra 4y agoFour years ago? When Svelte was still in it's infancy? You're absolutely right to have received pushback for that. I would still consider Svelte somewhat risky today. You're lucky that Svelte has taken off but it could have easily been abandoned and you could be stuck with an outdated framework. Three years ago, someone at my company made the bad call to use Aurelia. It didn't take off, and we are still stuck with this decision. I'm not claiming that the success is random - Svelte is clearly a far better framework than Aurelia. But the weaknesses often become apparent only later into development, and so it's safer to bet on established approaches.
- ricardobeat 4y agoDepends on your perspective. Svelte first came out in 2016, and by that time I'd been following Ractive.js, the author's previous framework at The Guardian, for years already.
- no_wizard 4y agoAurelia is maintained though, as opposed to being completely dead at least. However I imagine there isn't alot of community libraries to leverage with such a small ecosystem.
- azangru 4y ago> No one would blame you for choosing React for a major project / new startup Oh, I know people who would. Especially if that choice was made mechanically, without proper assessment of project requirements and framework strengths/weaknesses.
- actionfromafar 4y ago"Nobody ever got fired for X" is a rhetorical device which means "in most situations, you generally won't be faulted going with the most main-stream option on the market".
- mellosouls 4y agoTo be fair, as frustrating as it is sometimes for those of us who want to use the best tool, for those who have jobs affected by the risk in their decisions, it's a sound principle to default to.
- solardev 4y agoI think the nuance is that much of the IT world moves much, MUCH slower than the web frontend. "Nobody ever got fired for choosing IBM/AWS/Google/Microsoft/ESRI" will culturally last a loooooong time (5-10 years? 15?) "Nobody ever got fired for choosing jQuery? Angular? React? Vue? Svelte? NPM? Yarn? Node? Deno? Next? Gatsby? Netlify? Webpack? Parcel? Babel? Bun? Canvas? WebGL? WASM? Workers? Cloudflare? Fly? Leaflet? OpenLayers? Mapbox?"... that has what, a lifespan of 2-3 years at best?
- szines 4y agoThe answer is always Ember.js. No doubt. It is just getting better and better and knows everything. The best choice.
- danielvaughn 4y agoAs for the "can't find devs that know it" problem, I'd suggest anyone reading this that Svelte is incredibly easy to pick up. Like I skimmed the docs in literally a few minutes, and was able to build out a reasonably sophisticated application almost immediately.
- isbvhodnvemrwvn 4y agoWithout knowing your background or the app is not that useful of an insight.
- danielvaughn 4y agoFair enough. I do have a little over a decade of experience, so perhaps that gives my opinion some bias. But regardless of the app, the premise behind Svelte feels as close to native as you can possibly manage. If you know html/css/js, it really shouldn't be hard to pick up the basics.
- antifa 4y agoI lost a non-trivial amount of time converting a vuejs app to svelte before getting blindsided by svelte not having basic error handling: https://github.com/sveltejs/svelte/issues/1096 https://github.com/sveltejs/svelte/issues/1096 Many types of errors that the equivalent vuejs/react app will show an error page and allow reporting to sentry for will result in an uncatchable halting (some may describe this as "freezing") and with no way to report this to a service like sentry. This is unacceptable for a framework claiming to be production ready. It's unclear to me if this has been fixed in the last year or two.
- danielvaughn 4y agoI hear you. My comment was mostly addressing the ease of learning the basics. I eventually decided to abandon it once I ran into a couple of very-difficult-to-debug problems, but I also didn't try too hard to resolve them. I did not realize they have no error handling, that's interesting.
- redleggedfrog 4y agoNope, dude at my job totally got "laid off" for choosing to write a feature in an ecommerce system in React. He had used it before at a previous job and was familiar with it. Problem was: - No one else in the team was familiar with React. - React did not play nice with the rest of the app and developer work flow. - It was huge and slow - He didn't know React as well as he thought he did and we had endless bugs. - He spent ages working on it. We rewrote in vanilla JS in 4 days - one dev. And, yeah, effing JS.
- dmix 4y agoThey didn’t literally mean getting fired for choosing a framework choice and it doesn’t sound like your story does either. The point is about making safe choices compared to alternatives. Migrating a project without full team buy in and without testing the waters in small incremental experiments is a developer/management problem.
- drewcoo 4y agoEveryone gets miscorrected for using either a heuristic or an analogy.
- AdrianB1 4y agoThis should never happen, the developers should not choose whatever technology stack or components they want for their piece of code, that's how Frankenstein started. But getting fired is reasonable in this case.
- pleb_nz 4y agoAgreed, but there must be more to this story that resulted in firing. You can't easily fire people for the issues listed here, at least in most civilized parts of the world.
- redleggedfrog 4y agoI wish. West Coast of USA can fire you for a bad haircut.
- Existenceblinks 4y agoI would question the decision maker seriously if he chose a 130.5kb (.min) dom lib instead of sub 10kb alternatives.