DannyMac ,
@DannyMac@lemmy.world avatar

Ut! Aurelia Borealis?

roux ,
@roux@hexbear.net avatar

A meme about all the various JS frameworks there are and the one I'm currently using isn't even in it. JFC, what am I doing?

frezik ,

Clearly, the solution is to write another layer of abstraction to unite them all.

tiefling ,

xkcd_927.jpg

ebc ,

To any non-js dev taking this too seriously: A good half of the technologies mentioned in this meme are redundant, you only need to learn one of them (in addition to the language). It's like complaining that there are too many Linux distributions to learn: you don't, you just pick one and go with it.

Tenkard ,

Exactly, you just have to pick SvelteKit

TheDoctor ,
@TheDoctor@hexbear.net avatar

Writing plain old JavaScript without a library or framework is nice while you’re learning. Too many people will learn a single framework and not have any idea what the underlying APIs are, so the transferable skills are minimal.

RuikkaaPrus ,
@RuikkaaPrus@lemmy.ml avatar

JavaScript is crazy. While you are learning React.js or Vue.js you are learning Webpack, Rollup or Vite.js even without your consent :skull:

ebc ,

C is crazy. While you are learning it you are learning Make and gcc without your consent.

Java is crazy. While you are learning Spring you are learning Maven or Gradle even without your consent.

NuclearDolphin ,

All of these bring me a sense of dread, each in a unique way.

Java I have a special loathing for, but the ecosystem isn't too wild, just verbose and so XML heavy.

JS is its own hell because of the sheer number of permutations of technologies a given project will use. There's always at least one nonstandard framework or tool lingering around from an old trend.

Python reimplemented the same dep management wheels 5x each, and I have no idea what common stacks look like anymore, but every time I encounter Python projects, something is always broken.

C is nice and easy from what I've used (just GCC & make), but idk what complexity arises in bigger projects.

Just so glad I'm not a webdev anymore and work with mostly just Rust, cargo, and containers.

ebc ,

Honestly I think the main thing that the JS ecosystem does well is dependency / package management (npm). The standard library is very small so everything has to be added as a dependency in package.json, but it mostly works without any of the issues you often see in other languages.

Yeah, it's not perfect, but it's better than anything else I've tried:

  • Python's approach is pretty terrible (pip, easy_install, etc.) and global vs local packages
  • Ruby has its own hell with bundler and where stuff goes
  • PHP has had a few phases like python (composer and whatnot) and left everyone confused
  • Java needs things somewhere in its $PATH but it's never clear where (altough it's better with Gradle and Maven)
  • C needs root access because the only form of dependency management is apt-get

In contrast, NPM is pretty simple: it creates a node_modules and puts everything there. No conflicts because project A uses left-pad 1.5 and project B uses left-pad 2.1. They can both have their own versions, thank you very much.

The only people who managed to mess this up are Linux distributions, who insist on putting things in folders owned by root.

NuclearDolphin ,

Also missing SASS/SCSS/Tailwind, bootstrap, and Babel

KingThrillgore ,
@KingThrillgore@lemmy.ml avatar

I like Tailwind. It makes me not write CSS or any preprocessor DSL. It's nice.

merthyr1831 ,

The trick to writing a JavaScript web app is that first you consider literally any other technology to solve your problem and only then consider using javascript.

Tartas1995 ,

Vanilla might not be good in a lot of things... Ice cream... Se... But here it is pretty nice!

magic_lobster_party ,

Just use JQuery (with a PHP backend)

mynamesnotrick ,
@mynamesnotrick@lemmy.zip avatar

I unironically did for production apps (some of which that are still running). The last thing I did with JS was vanilla. I'm a simple person.

NuclearDolphin ,

Every person I know who used JQuery seems to really miss it. My only impression of it is that it looks goofy. Similar for PHP, but my only experience with it is Nextcloud causing me nightmares.

MrPoopyButthole ,
@MrPoopyButthole@lemmy.world avatar

I used to use JQuery (and I still do occasionally when doing scripts for WordPress where its included natively), but modern vanilla JS has solved 90+ % of the reason why we needed JQuery back then.

NiPfi ,

Isn't it great? And it all lets you shoot yourself in the foot equally as bad, if you misunderstand the frameworks' design principles

ICastFist ,
@ICastFist@programming.dev avatar

Some let you shoot with a shotgun, some with an assault rifle, some with an elephant gun. It's so fun to choose!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • programmerhumor@lemmy.ml
  • test
  • worldmews
  • mews
  • All magazines