• TheHarpyEagle@lemmy.world
      link
      fedilink
      arrow-up
      47
      ·
      10 months ago

      Nah, no need for this kind of gatekeeping. Anyone who deals with js and its billions of frameworks on a daily basis deserves to be called a developer.

        • Heyyy its your super duper new project manager! I hope you are feeling a-mazing because you are my a-ce on the team. Anyways i need you to do things twice as fast, because we are running low on budget after sales promised another feature without extra billing and the CEO already signed off on it. Please make this happen somehow. If this project isn’t succesfull i’ll get fired and have to sell the house. But no pressure!

        • Phoenixz@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          9 months ago

          Never used it in over 23 years of using PHP. Also, I don’t thing that has existed anymore for the past 10 years or so?

          Seriously, if we’re going to do this, can we also bitch about painful java apps from 10 years ago, or the hilariously shitty modules in node from 10 years ago? I can go on for a while, but you hopefully get the point.

            • Phoenixz@lemmy.ca
              link
              fedilink
              arrow-up
              1
              ·
              9 months ago

              My confusion is that you hate it tosay because someone over a decade ago wrote 10 times the same complaint that was mostly fixed already since about a decade ago

        • dan@upvote.au
          link
          fedilink
          arrow-up
          6
          arrow-down
          1
          ·
          10 months ago

          That article is over a decade old. A lot of these issues aren’t relevant any more or have been fixed. Some weren’t even PHP issues, for example mysql_real_escape_string is a MySQL API (https://dev.mysql.com/doc/c-api/8.0/en/mysql-real-escape-string.html).

          PHP isn’t the best language, but it’s not as bad as some people claim it to be, especially if you use a good framework like Laravel.

            • dan@upvote.au
              link
              fedilink
              arrow-up
              1
              ·
              10 months ago

              JavaScript has a lot of the same issues as PHP. It doesn’t have some of the same core library issues because it doesn’t have a good core library.

                • dan@upvote.au
                  link
                  fedilink
                  arrow-up
                  1
                  arrow-down
                  1
                  ·
                  10 months ago

                  Adding a third-party library in PHP is just as easy. The composer.json file looks very similar to a package.json.

                • dan@upvote.au
                  link
                  fedilink
                  arrow-up
                  2
                  arrow-down
                  1
                  ·
                  edit-2
                  10 months ago

                  ECMA 6 has had drastic improvements over the past js…

                  Sure, but it still lacks basic built-in features. For example, why do maps and sets not have sort or filter methods? In Node, why is there no built-in way to connect to a database of any sort? Why can Node.js apps only use a single time zone? Requiring libraries for everything is not ideal as the libraries vary wildly in quality and they can end up either abandoned or containing malware (which has happened several times in the Node ecosystem).

                  still infinitely better than php

                  They each have their pros and cons, depending on use case. Node.js does some things better than PHP, but the opposite is true too.

                  • You can build a whole PHP website without using any third-party libraries, and it’ll work on any web host that supports PHP (literally any good web host that exists today). There’s value in having that level of flexibility.
                  • You can build a PHP site today and it’ll mostly still be working (maybe with some minor changes) in 5 years, whereas for some of my Node.js sites I have to switch to an older version of Node just to build them. For example https://obviousspoilers.com/ has been practically untouched since 2009.
                  • The fact that PHP can run multiple apps in the same FPM process means that you can run thousands of sites on a single server without issues. There’s some non-Node solutions to this (like Cloudflare workers) but they’re mostly proprietary at the moment.
                  • There are more PHP than Node.js jobs, and far more sites use PHP. Wordpress uses PHP and powers over 40% of the web, so that means that at least 40% of all websites use PHP.
        • Phoenixz@lemmy.ca
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          10 months ago

          That is literally a decade old article with basically 1 complaint that sometimes functions are strpos() and sometimes str_len(). Anything else it’s saying is “I don’t even know how to say it”. Really now? Any of your complaints have been fixed since about a decade ago, so why don’t you give it a try?

    • AlecSadler@sh.itjust.works
      link
      fedilink
      arrow-up
      12
      ·
      10 months ago

      I’m a full-stack web developer and am involved all the way through including cloud infrastructure, API development, database creation/maintenance, test automation, architecture etc.

      I guess what makes a “developer” in your context different? Embedded? Kernel?

      • ThyTTY@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        10 months ago

        Only those who code in the same language as I am can be called developers. Everyone else is just an impostor and their technology doesn’t matter! Real programmers use my language of choice

        • astraeus@programming.dev
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          10 months ago

          Scooters are more efficient, get you where you need to go and cost less to maintain. Your analogy is actually pretty good in that regard.

            • astraeus@programming.dev
              link
              fedilink
              arrow-up
              4
              arrow-down
              1
              ·
              10 months ago

              Now you’re throwing ad hominem around. You don’t need to be toxic to communicate your point, web development did at one point have a lot of growing to do and I can admit that there is still plenty of progress to be made. In 2024 however, ignoring the web ecosystem as any type of developer is purely traditionalist elitism.

            • adr1an@programming.devM
              link
              fedilink
              arrow-up
              1
              ·
              10 months ago

              Please refrain of using offensive words, specially if you are trying to actually communicate an idea that is by all means demeaning to other people. The community is about humour, keep that in mind ;)

    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      6
      ·
      10 months ago

      To be fair, we do develop stuff. Nothing implies quality, so it’s not like we’re misrepresenting anything. Personally, anyone who calls themselves a software engineer and works with any web-related technology (PHP, JavaScript, etc) are the ones to be shunned.