Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. I've now seen twice the notion insinuating PHP is somehow still a lesser language.

I've now seen twice the notion insinuating PHP is somehow still a lesser language.

Scheduled Pinned Locked Moved Uncategorized
34 Posts 17 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • torb@hachyderm.ioT torb@hachyderm.io

    @Crell @sushee That’s cool to hear!

    I feel with gradually typed languages culture matters a lot. How much is types used in practice?

    a_lex_ander@mastodon.socialA This user is from outside of this forum
    a_lex_ander@mastodon.socialA This user is from outside of this forum
    a_lex_ander@mastodon.social
    wrote last edited by
    #16

    @torb @Crell @sushee No offense, but your "I dislike PHP because it's not typed" is the exact reason why PHP devs wonder where all the ideas about it come from. 🤣

    I personally haven't written a single PHP project without types and later strict enforcement in the last 10 years. I'd guess 95% of my entire codebase (due to some libraries opting to be backwards compatible) is typed.

    torb@hachyderm.ioT 1 Reply Last reply
    0
    • zerodogg@hachyderm.ioZ zerodogg@hachyderm.io

      @sushee Ok, challenge accepted. mod_php is and was brilliant. Reduced the barrier of entry to making server side webapps to nearly nothing. Write normal HTML, add some <?php blocks, copy to server. Webapp.

      a_lex_ander@mastodon.socialA This user is from outside of this forum
      a_lex_ander@mastodon.socialA This user is from outside of this forum
      a_lex_ander@mastodon.social
      wrote last edited by
      #17

      @zerodogg @sushee FrankenPHP (building on Caddy) is the new mod_php. 😉 Start server, get SSL out of the box, drop script, run everything in parallel.

      nickapos@mastodon.oncrete.ukN 1 Reply Last reply
      0
      • a_lex_ander@mastodon.socialA a_lex_ander@mastodon.social

        @torb @Crell @sushee No offense, but your "I dislike PHP because it's not typed" is the exact reason why PHP devs wonder where all the ideas about it come from. 🤣

        I personally haven't written a single PHP project without types and later strict enforcement in the last 10 years. I'd guess 95% of my entire codebase (due to some libraries opting to be backwards compatible) is typed.

        torb@hachyderm.ioT This user is from outside of this forum
        torb@hachyderm.ioT This user is from outside of this forum
        torb@hachyderm.io
        wrote last edited by
        #18

        @a_lex_ander @Crell @sushee I mean, my main point here was that even if my premise was true you would still *have to* recognize that it’s not worse than many other popular and relatively respected languages.

        Additionally I also wanted to make the point that you can dislike something and still respect it.

        a_lex_ander@mastodon.socialA 1 Reply Last reply
        0
        • torb@hachyderm.ioT torb@hachyderm.io

          @a_lex_ander @Crell @sushee I mean, my main point here was that even if my premise was true you would still *have to* recognize that it’s not worse than many other popular and relatively respected languages.

          Additionally I also wanted to make the point that you can dislike something and still respect it.

          a_lex_ander@mastodon.socialA This user is from outside of this forum
          a_lex_ander@mastodon.socialA This user is from outside of this forum
          a_lex_ander@mastodon.social
          wrote last edited by
          #19

          @torb @Crell @sushee As I wrote, I'm not trying to attack you in any way. It's just funny how many misconceptions there still are even after a decade. I don't know of any language that seems to be as misunderstood. But then again, someone recently told me monitors in Linux are almost impossible to configure because of all the config files and I genuinely couldn't remember the last time I opened an XF86Config.

          torb@hachyderm.ioT 1 Reply Last reply
          0
          • a_lex_ander@mastodon.socialA a_lex_ander@mastodon.social

            @torb @Crell @sushee As I wrote, I'm not trying to attack you in any way. It's just funny how many misconceptions there still are even after a decade. I don't know of any language that seems to be as misunderstood. But then again, someone recently told me monitors in Linux are almost impossible to configure because of all the config files and I genuinely couldn't remember the last time I opened an XF86Config.

            torb@hachyderm.ioT This user is from outside of this forum
            torb@hachyderm.ioT This user is from outside of this forum
            torb@hachyderm.io
            wrote last edited by
            #20

            @a_lex_ander I was kinda aware that PHP had gradual typing (as with all scripting languages), so it doesn’t change it *that much* for me. I really like fairly strong and strict type systems. Of course those come with their own tradeoffs (my Swift compile times are at times slow and my the compiler error messages not always the easiest to understand). I suppose I’m willing to pay that particular price.

            EDIT: Did not take it as an attack at all! It’s hard to keep detailed track of all tech communities and it was fun to learn more! 🙂

            crell@phpc.socialC 1 Reply Last reply
            0
            • torb@hachyderm.ioT torb@hachyderm.io

              @a_lex_ander I was kinda aware that PHP had gradual typing (as with all scripting languages), so it doesn’t change it *that much* for me. I really like fairly strong and strict type systems. Of course those come with their own tradeoffs (my Swift compile times are at times slow and my the compiler error messages not always the easiest to understand). I suppose I’m willing to pay that particular price.

              EDIT: Did not take it as an attack at all! It’s hard to keep detailed track of all tech communities and it was fun to learn more! 🙂

              crell@phpc.socialC This user is from outside of this forum
              crell@phpc.socialC This user is from outside of this forum
              crell@phpc.social
              wrote last edited by
              #21

              @torb @a_lex_ander The difference with PHP is that types are runtime enforced. In python it's ahead of time optional static analysis only. Typescript is compiled. Of gradual languages, PHP actually enforced types. And then there is a robust static analysis tool chain on top of it that's even stronger.

              a_lex_ander@mastodon.socialA 1 Reply Last reply
              0
              • mnl@hachyderm.ioM mnl@hachyderm.io

                @solariz @sushee programming language ethnography is fascinating. Germany and Ukraine are php, france has ocaml, Russia is very c++ (at least was in the early aughts), java vs c#. I worked with indian developers and while not remotely knowledgeable about its culture, java seemed to at least within their cultural sphere to be omnipresent.

                While people were clowning on php when I lived in Europe, it was usually more in jest. I encountered genuine if not hatred, then dismissal and ridiculing of php and Java developers here in the US, amongst people from whom I really expected better (recurse center alumni).

                One reason I think that php gets so much flack here in the US is classism. A lot of businesses here are started by what I’m going to call “hustlers”, people who like building businesses. They will usually get a supply chain going and put a Wordpress site in front because they can muck about with plugins, then hire a php dev or two (because until relatively recently, JavaScript was second grade citizen in wp), and usually hire non-us developers on freelancer.com (which is where I got the job that ultimately made me move to the US). As such, a lot of php developers are lower-class people, often from the global south (while not necessarily lowerclass, I was living in eastern Germany and barely making ends meet because uh autism and German work culture or something). People often without degrees, or working in “software sweat shops” and not all that invested in their craft or not having the opportunities to invest in it.

                afilina@phpc.socialA This user is from outside of this forum
                afilina@phpc.socialA This user is from outside of this forum
                afilina@phpc.social
                wrote last edited by
                #22

                @mnl @solariz @sushee I think people in the US are generally more ok with openly hating something, usually whatever isn't what they use. I heard some really hurtful and unaccepyable comments regarding various programming languages from US folks. Seldom in other countries, although it still happens.

                mnl@hachyderm.ioM 1 Reply Last reply
                0
                • afilina@phpc.socialA afilina@phpc.social

                  @mnl @solariz @sushee I think people in the US are generally more ok with openly hating something, usually whatever isn't what they use. I heard some really hurtful and unaccepyable comments regarding various programming languages from US folks. Seldom in other countries, although it still happens.

                  mnl@hachyderm.ioM This user is from outside of this forum
                  mnl@hachyderm.ioM This user is from outside of this forum
                  mnl@hachyderm.io
                  wrote last edited by
                  #23

                  @afilina @solariz @sushee it's interesting isn't it. Like I certainly remember us clowning on a whole variety of things.

                  Now that I feel more culture shock going back to europe than the other way round, I think a) identification with one's job and occupation is much stronger in the US (both a good and a bad thing) and a stronger "belief" that your choices determine who you are, and that the choice of a programming language is thus a statement of value and identity (also a good and a bad thing).

                  One of the bad sides is that it leads to this more emotionally laden discourse (see llms right now too).

                  Ofc this is me just rambling, don't ascribe too much to it, but it also feels validating to see that other people notice it too.

                  1 Reply Last reply
                  0
                  • flq@freiburg.socialF flq@freiburg.social

                    @sushee any language that still thrives at this point must be working.

                    P This user is from outside of this forum
                    P This user is from outside of this forum
                    pingtofinder@mastodon.social
                    wrote last edited by
                    #24

                    @flq @sushee … …maybe some people can’t wrap their brain around the name? Rebrand as HPP and we have a winner!

                    (Joking… we don’t want an Oracle sniffing around, eh?)

                    From the school of Dilbert Management

                    😉

                    1 Reply Last reply
                    0
                    • kboyd@phpc.socialK kboyd@phpc.social

                      @sushee oh gosh, the language I dislike the _most_? I'm not even sure what that would be. Like, I sometimes poke fun at (or outright denigrate) javascript, but it's obviously extremely powerful. and coding in it works well enough. I wouldn't say I dislike it the _most_.

                      So that leaves, I dunno, objective C or maybe Go, but I don't have enough experience in them to even say something bad about them properly, let alone something good.

                      P This user is from outside of this forum
                      P This user is from outside of this forum
                      pingtofinder@mastodon.social
                      wrote last edited by
                      #25

                      @kboyd @sushee (Are you sure the most hated language isn’t Dutch? It’s a silly language with silly spelling…)

                      Kidding! Love the Dutch.

                      1 Reply Last reply
                      0
                      • crell@phpc.socialC crell@phpc.social

                        @torb @a_lex_ander The difference with PHP is that types are runtime enforced. In python it's ahead of time optional static analysis only. Typescript is compiled. Of gradual languages, PHP actually enforced types. And then there is a robust static analysis tool chain on top of it that's even stronger.

                        a_lex_ander@mastodon.socialA This user is from outside of this forum
                        a_lex_ander@mastodon.socialA This user is from outside of this forum
                        a_lex_ander@mastodon.social
                        wrote last edited by
                        #26

                        @Crell @torb And in the last few years there has been a constant "inflow" of language features related to the type system. Currently even generics "light" are being discussed again, in addition to two popular static analysis tools that understand docblocks. PHP is moving, slowly but steadily.

                        1 Reply Last reply
                        0
                        • sushee@ohai.socialS sushee@ohai.social

                          I've now seen twice the notion insinuating PHP is somehow still a lesser language. Some people are apparently stuck in a 25 year old notion of PHP.

                          NOBODY can afford this anymore and if this shit of communities doing it to EACH OTHER doesn't stop, you're just making it easy to be destroyed.

                          So be in freakin' solidarity with each other for a change.

                          I challenge you to say something good about the language you dislike the most.

                          I'm so SO tired of this shit since 1999, really.

                          erisceleste@tech.lgbtE This user is from outside of this forum
                          erisceleste@tech.lgbtE This user is from outside of this forum
                          erisceleste@tech.lgbt
                          wrote last edited by
                          #27

                          @sushee ironically the language i dislike the most is for peripheral reasons to anything about it (i won't name it but it's quite nice design-wise)

                          unfortunately its association with a reprehensible designer means hup into the memory hole with ya

                          (not referring to sth in current widespread use)

                          sushee@ohai.socialS 1 Reply Last reply
                          0
                          • erisceleste@tech.lgbtE erisceleste@tech.lgbt

                            @sushee ironically the language i dislike the most is for peripheral reasons to anything about it (i won't name it but it's quite nice design-wise)

                            unfortunately its association with a reprehensible designer means hup into the memory hole with ya

                            (not referring to sth in current widespread use)

                            sushee@ohai.socialS This user is from outside of this forum
                            sushee@ohai.socialS This user is from outside of this forum
                            sushee@ohai.social
                            wrote last edited by
                            #28

                            @erisceleste I actually googled rasmus lerdorf controversy etc etc first because I'm not defending a programming language with an iffy smell

                            there are some I'm avoiding for that reason.

                            erisceleste@tech.lgbtE 1 Reply Last reply
                            0
                            • sushee@ohai.socialS sushee@ohai.social

                              @erisceleste I actually googled rasmus lerdorf controversy etc etc first because I'm not defending a programming language with an iffy smell

                              there are some I'm avoiding for that reason.

                              erisceleste@tech.lgbtE This user is from outside of this forum
                              erisceleste@tech.lgbtE This user is from outside of this forum
                              erisceleste@tech.lgbt
                              wrote last edited by
                              #29

                              @sushee haha nah sorry, one completely unrelated to PHP

                              1 Reply Last reply
                              0
                              • sushee@ohai.socialS sushee@ohai.social

                                I've now seen twice the notion insinuating PHP is somehow still a lesser language. Some people are apparently stuck in a 25 year old notion of PHP.

                                NOBODY can afford this anymore and if this shit of communities doing it to EACH OTHER doesn't stop, you're just making it easy to be destroyed.

                                So be in freakin' solidarity with each other for a change.

                                I challenge you to say something good about the language you dislike the most.

                                I'm so SO tired of this shit since 1999, really.

                                reference_material@tech.lgbtR This user is from outside of this forum
                                reference_material@tech.lgbtR This user is from outside of this forum
                                reference_material@tech.lgbt
                                wrote last edited by
                                #30

                                @sushee I dislike perl. Not because it's bad, but because it is too powerful. Anything you need to do, perl can do it. But should it. Should it?

                                1 Reply Last reply
                                0
                                • dansup@mastodon.socialD dansup@mastodon.social shared this topic
                                • a_lex_ander@mastodon.socialA a_lex_ander@mastodon.social

                                  @zerodogg @sushee FrankenPHP (building on Caddy) is the new mod_php. 😉 Start server, get SSL out of the box, drop script, run everything in parallel.

                                  nickapos@mastodon.oncrete.ukN This user is from outside of this forum
                                  nickapos@mastodon.oncrete.ukN This user is from outside of this forum
                                  nickapos@mastodon.oncrete.uk
                                  wrote last edited by
                                  #31

                                  @a_lex_ander @zerodogg @sushee I did not know about Caddy thanks for this

                                  1 Reply Last reply
                                  0
                                  • sushee@ohai.socialS sushee@ohai.social

                                    I've now seen twice the notion insinuating PHP is somehow still a lesser language. Some people are apparently stuck in a 25 year old notion of PHP.

                                    NOBODY can afford this anymore and if this shit of communities doing it to EACH OTHER doesn't stop, you're just making it easy to be destroyed.

                                    So be in freakin' solidarity with each other for a change.

                                    I challenge you to say something good about the language you dislike the most.

                                    I'm so SO tired of this shit since 1999, really.

                                    jeroenbaten@mastodon.nlJ This user is from outside of this forum
                                    jeroenbaten@mastodon.nlJ This user is from outside of this forum
                                    jeroenbaten@mastodon.nl
                                    wrote last edited by
                                    #32

                                    @sushee hm, I understand your point but am a little ambivalent. Not at all towards php nut much more towards JavaScript, but I guess the name of the language does not matter. Or does it?

                                    1 Reply Last reply
                                    0
                                    • sushee@ohai.socialS sushee@ohai.social

                                      I've now seen twice the notion insinuating PHP is somehow still a lesser language. Some people are apparently stuck in a 25 year old notion of PHP.

                                      NOBODY can afford this anymore and if this shit of communities doing it to EACH OTHER doesn't stop, you're just making it easy to be destroyed.

                                      So be in freakin' solidarity with each other for a change.

                                      I challenge you to say something good about the language you dislike the most.

                                      I'm so SO tired of this shit since 1999, really.

                                      acid@ohai.socialA This user is from outside of this forum
                                      acid@ohai.socialA This user is from outside of this forum
                                      acid@ohai.social
                                      wrote last edited by
                                      #33

                                      @sushee The language I dislike the most is Javascript and I had the impression that the community was developing way better than my beloved Ruby community.

                                      (Disclaimer: I haven't had the capacity to look into these things for many years 😅)

                                      1 Reply Last reply
                                      0
                                      • sushee@ohai.socialS sushee@ohai.social

                                        I've now seen twice the notion insinuating PHP is somehow still a lesser language. Some people are apparently stuck in a 25 year old notion of PHP.

                                        NOBODY can afford this anymore and if this shit of communities doing it to EACH OTHER doesn't stop, you're just making it easy to be destroyed.

                                        So be in freakin' solidarity with each other for a change.

                                        I challenge you to say something good about the language you dislike the most.

                                        I'm so SO tired of this shit since 1999, really.

                                        mikemccaffrey@drupal.communityM This user is from outside of this forum
                                        mikemccaffrey@drupal.communityM This user is from outside of this forum
                                        mikemccaffrey@drupal.community
                                        wrote last edited by
                                        #34

                                        @sushee Yes, now PHP is rigid and object oriented like all these other languages out there and there is no reason to use it instead of one of them.

                                        1 Reply Last reply
                                        1
                                        0
                                        • R relay@relay.infosec.exchange shared this topic
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • World
                                        • Users
                                        • Groups