27

PHP: Powering 70% of the web and doing fucking awesome at it.

React: Powering .3% of the web and largely sucking at it.

Gauntlet has been thrown down.

Comments
  • 2
    I'll be your adjutant!
  • 12
    PHP: Making me confident I will always shave a performance edge

    React: making me wonder if people have common sense
  • 3
    @SortOfTested Just install such wonderful packages like is-even or the partner is-odd.

    Yes, that are actual packages. Maybe doing a simple modulo calculation is too hard for a common JS dev or javascript itself has some weird edge cases where a even number modulo 2 results in a one.
  • 1
    @DBX12
    Yeah, there's a lot of rank amateur task monkeys in developer positions nowadays.
  • 2
    @DBX12
    May I introduce you to leftpad?
  • 6
    @DBX12 Fun fact: is-even uses is-odd to check if a number is odd and then just returns the opposite boolean.
    https://npm.anvaka.com//...
    https://github.com/jonschlinkert/...
  • 4
    WHAT THE HELL THERES SERIOUSLY A PACKAGE JUST FOR CHECKING IF ODD OR EVEN?? 😱😱😱😱WHAT DO THEY TEACH IN CS CURRICULUMS THESE DAYS? I’m waiting for some idiot to say duuuur I’m not a mathematician I’m a developer!
  • 4
    @d-fanelli far as I can tell the prof comes in, types "npm install whatever" and then they all jack each other off about how smart they are.
  • 1
    @HiFiWiFiSciFi πŸ€£πŸ€£πŸ€£πŸ€£πŸ€£πŸ€£πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚ OR PEOPLE TAKING THOSE SCAMMY ANYONE CAN CODE! LEARN TO CODE IN 3 MONTHS FOR 10 GRAND AND YOULL BE MAKIN BIG BUX
  • 1
    @d-fanelli Which is the same exact thing, except this time taking place in a strip mall.
  • 3
    @d-fanelli unfortunately there is do much demand for developers that even those can succeed.

    That said, just as php is not all bad just because there are so many bad developers using it, react is not bad just because people create dumb packages.

    I have used pure js, my own home brew, vue, react, jquery and angular and out if those I currently favor react.

    But I fully expect that to change some time when another proves better for me.
  • 2
    This is all made by bad devs.

    I always try to add as few dependencies as I can to the react app.
  • 4
    @devJs whenever I make a React app, I have the create-react-app dependencies and maybe react-router-dom
  • 3
    Your right. React powers .3% of the web. But it uses 30% of the power.
  • 5
    PHP and React aren’t in the same league. React is a UI framework and PHP is a server side page building language.
  • 2
    @Sh4d0w surprised they don't use negate-boolean package
  • 3
    Php by definition can’t be “awesome” at anything.
  • 2
    @kiki Oh yes it can! And that's highly subjective as well.
  • 1
    @kiki "PHP is a general-purpose scripting language especially suited to web development"
    By definition it is awesome in web development but can be suited in other areas.
  • 1
    @irene they are two different approaches. Something's are almost impossible to do in php and some in react but they are both used to build the html so it is perfectly valid to compare them
  • 0
    When PHP is working no one notices the site uses it. When react is working the page is slow, resource heavy, and most importantly doesn't work if you don't let arbitrary code from unknown sources execute on your machine.
  • 1
    Makes sense now...
Add Comment