• Potatos_are_not_friends@lemmy.world
    link
    fedilink
    arrow-up
    91
    ·
    11 months ago

    I feel bad because while I don’t reach for react (I usually pick Vue or vanilla), people’s comments about react is really depressing.

    There’s a LOT of shitty react code. And when you see beautiful react implementation, it’s like a work of art.

    Unfortunately, react projects have been given to by bootcamps grads with 6 months of experience and it’s like the blind leading the blind…

    I wonder if it’s like PHP. Lots of people shit on it because they had to futz around in a garbage project written by garbage developers, fully unaware that it can be elegant in the hands of a professional team who cares about code quality.

    • tsonfeir@lemm.eeOP
      link
      fedilink
      arrow-up
      34
      ·
      11 months ago

      PHP is great for building APIs to use with React or Vue. I’m happy I have so much back end experience with both good and bad code.

      My motto: if a Junior dev can’t figure out what I’m doing after two weeks of training, I’ve failed.

    • killeronthecorner@lemmy.world
      link
      fedilink
      arrow-up
      25
      ·
      11 months ago

      I wonder if it’s like PHP. Lots of people shit on it because they had to futz around in a garbage project written by garbage developers, fully unaware that it can be elegant in the hands of a professional team who cares about code quality.

      You can apply this reasoning to any [web] technology. The reason it’s so visible for react, and previously PHP, is simply popularity.

    • DrQuint@lemm.ee
      link
      fedilink
      arrow-up
      8
      ·
      11 months ago

      The problem with some of the comments here is that even “properly” written React CAN hit a performance bump, and optimization is a rather rare skill no matter the programming context (kinda due to little time given to it, so everyone is out of practice).

      But I don’t know which ones are the ones talking about that, and which ones are just people annoyed at anything Node in general.

    • sheogorath@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      11 months ago

      Yep, finding people who understand React is hard. The majority of people who say they’re an expert in React are either coding bootcamp fresh grads or someone who’s entrenched in writing shitty React so by having them join there’s basically no difference in skill with a fresh grade hire or a fourth year college student intern.

      • Osnapitsjoey@lemmy.one
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        11 months ago

        What’s wrong with bootcamps? Honest question, as I’ve been learning to code from a python book and an “expensive” udemi course that was on sale for 20 bucks

        I’d never tell people I know how to program though. I’m definitely still learning

        • ramjambamalam@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          Not necessarily “wrong” but a weakness is that they tend to focus on concrete language syntax and skimp on abstract software design, and data structures and algorithms. The result is a programmer who knows how to write code, but may struggle on larger projects or more complicated problems, compared to a computer science or software engineering graduate.

          Of course I’ve met developers from applied courses and boot camps who are driven, passionate, and gifted who have gone on to make excellent system designers and software architects, but generally speaking, knowing how to code alone does not make one a software developer.

    • kameecoding@lemmy.world
      link
      fedilink
      arrow-up
      8
      arrow-down
      2
      ·
      11 months ago

      I find react stupid because of JSX, Vue is much cleaner easier.

      ofc you can create a mess with any tool or framework