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 (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. [No PHPun Intended] A Brief History of Web Development

[No PHPun Intended] A Brief History of Web Development

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
174 Posts 97 Posters 1.8k 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.
  • B [email protected]

    In PHPs defense, it keeps evolving in positive, meaningful ways. If you are up to date with it, it’s quite sophisticated and enjoyable. Doubly so if you use a framework like Laravel.

    S This user is from outside of this forum
    S This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #153

    PHP 8.4 is pretty good, TBH.
    You absolutely CAN write great code with modern PHP.
    ...
    Shame that most PHP I touch is legacy code that's at MOST PHP 7.4 - which is EOL since November '22 and has to be upgraded or replaced. 😬

    1 Reply Last reply
    3
    • pro@programming.devP [email protected]

      Source.

      Yep, PHP is turning 30 this year! Wondering if "PHP is still relevant?" Ever since we have been hearing that PHP is dead. It was “dead” 10 years ago, 5 years ago, and “is dead” today. But somehow - it isn’t. Anyway... happy birthday!

      S This user is from outside of this forum
      S This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #154

      Array_filter and array_map having the arguments swapped pisses me of so much.!

      M 1 Reply Last reply
      11
      • pro@programming.devP [email protected]

        Source.

        Yep, PHP is turning 30 this year! Wondering if "PHP is still relevant?" Ever since we have been hearing that PHP is dead. It was “dead” 10 years ago, 5 years ago, and “is dead” today. But somehow - it isn’t. Anyway... happy birthday!

        D This user is from outside of this forum
        D This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #155

        Js is dead use php!

        1 Reply Last reply
        6
        • D [email protected]

          Everyone in this thread: PHP sucks because it was bad when I last used it 20 years ago.

          D This user is from outside of this forum
          D This user is from outside of this forum
          [email protected]
          wrote on last edited by [email protected]
          #156

          Backend devs: JS sucks because I never learned it actually

          1 Reply Last reply
          9
          • thekingbee@lemmy.worldT [email protected]

            I mean it does suck, but it sucks less than anything else we have.

            B This user is from outside of this forum
            B This user is from outside of this forum
            [email protected]
            wrote on last edited by [email protected]
            #157

            PHP is far from "least bad language". Nowadays it is an ok language, one of many. You can also write ok code in it. The main issue is that it's really easy to write horrible shit that just barely works and will break when you look at it wrong. In fact without a lot of knowledge and experience that is the code you will probably write.

            There are much better languages for any webdev niche you can think of, and some that are just better for webdev overall (e.g. Elixir). The reason PHP is still relevant is mostly huge legacy codebases that require a lot of engineering power to maintain (because PHP is not a good language for maintenance).

            The way I look at it is that PHP is the C++ of webdev (but slightly worse).

            1 Reply Last reply
            11
            • 3 [email protected]

              The only reason php is still alive is Facebook

              B This user is from outside of this forum
              B This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #158

              WordPress?

              1 Reply Last reply
              6
              • B [email protected]

                So why did Facebook build that whole system of converting C++ to PHP or whatever they did? Was it because they didn’t understand the savings? Or when you scale that high, the savings really are significant? Were there savings?

                Edit to subtract: https://en.wikipedia.org/wiki/HHVM is what it eventually turned into, and apparently it showed significant improvements even above the previous system.

                B This user is from outside of this forum
                B This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #159

                Probably because someone said it was a good idea in a meeting.

                B 1 Reply Last reply
                2
                • S [email protected]

                  Array_filter and array_map having the arguments swapped pisses me of so much.!

                  M This user is from outside of this forum
                  M This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #160

                  This person phps

                  1 Reply Last reply
                  2
                  • blackmist@feddit.ukB [email protected]

                    Javascript is living proof that your language doesn't need to be good to be used.

                    I tripped over this one in Delphi the other day.

                    function AnsiStartsText(const ASubText, AText: string): Boolean;
                    function AnsiEndsText(const ASubText, AText: string): Boolean;
                    function AnsiContainsText(const AText, ASubText: string): Boolean;
                    
                    M This user is from outside of this forum
                    M This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #161

                    Too late to change it now

                    1 Reply Last reply
                    2
                    • B [email protected]

                      In PHPs defense, it keeps evolving in positive, meaningful ways. If you are up to date with it, it’s quite sophisticated and enjoyable. Doubly so if you use a framework like Laravel.

                      M This user is from outside of this forum
                      M This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #162

                      Yeah last time I used it was with a laravel monolith and actually it wasn't that bad.

                      1 Reply Last reply
                      2
                      • P [email protected]

                        I think I agree with you, and I also think you probably know better than me, but - Python couldn't become what Python became without doing this exact thing very deliberately, bordering on obnoxious at times. Fundamentals or "initial state" define the characteristic strengths and weaknesses for a language, but what to add and what not to, as well as "why" and "how", over time determine the true shape and user experience (lacking a better word there) of a language.

                        Despite its reputation, in my view Python has always been far more opinionated about how to do things than most give it credit for.

                        R This user is from outside of this forum
                        R This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #163

                        Yeah, I don't take exception with most of their choices, and to be perfectly honest PHP has historically made a number of really bad choices and refused to fix horrible bugs.

                        I just feel that providing the handful of tools that have been available since C and keeping them with the same name and the same argument position only makes sense.

                        If people aren't cloning Python commands for their design sensibilities. When they ask for a creature comfort that doesn't affect performance, It should be more strongly considered.

                        1 Reply Last reply
                        0
                        • P [email protected]

                          FastAPI ftw, fight me! Lol jk Django is cool and useful and serves a different need, quite well from what I understand.

                          Z This user is from outside of this forum
                          Z This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #164

                          Lol I've used both, FastAPI is nice too! I think my ideal situation would be FastAPI's endpoints/routing, combined with Django's ORM and DRF's automagic serializers/viewsets.

                          R 1 Reply Last reply
                          2
                          • B [email protected]

                            Probably because someone said it was a good idea in a meeting.

                            B This user is from outside of this forum
                            B This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #165

                            There is absolutely no way that’s true lol

                            B 1 Reply Last reply
                            0
                            • B [email protected]

                              There is absolutely no way that’s true lol

                              B This user is from outside of this forum
                              B This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #166

                              Its the most true thing you'll read all day.

                              B 1 Reply Last reply
                              0
                              • U [email protected]

                                PHP will never die. As long as code is written there will be PHP developers there to claim it's good now.

                                B This user is from outside of this forum
                                B This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #167

                                Just like COBOL

                                1 Reply Last reply
                                0
                                • B [email protected]

                                  Its the most true thing you'll read all day.

                                  B This user is from outside of this forum
                                  B This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #168

                                  You should look into it. Apparently it was quite a performance increase. I don’t understand all the technical details, but it is very cool to see what large enterprises do at scale.

                                  1 Reply Last reply
                                  0
                                  • B [email protected]

                                    Early Kotlin and early Swift were good.

                                    B This user is from outside of this forum
                                    B This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #169

                                    Early Swift was very slow to compile and start. The debugger was nonfunctional.

                                    Otherwise it was pretty usable. Especially since it got to leverage the huge libraries written for Objective-C.

                                    Which meant it lacked some basic collection types. A Swift native Set was introduced with Swift 3 IIRC. Before that you had to bridge back and forth between Swift and Objective-C. Sometimes leading to unexpected behavior at runtime.

                                    In Objective-C if an object reference was nil, you could send it messages (call methods) without a problem. Swift however did away with this. Optionals had to be explicitly unwrapped. So if the annotations weren’t correct, Swift code would crash at runtime where Objective-C would have been fine. Lots of bugs related to that existed.

                                    Swift peaked around version 4. Since then, they have been adding kitchen sink features and lots of complexity to feel smart.

                                    I still would have preferred an Objective-C 3.0. Chris Lattner was a C++ guy and never really understood Objective-C culture and strengths.

                                    1 Reply Last reply
                                    0
                                    • Z [email protected]

                                      Lol I've used both, FastAPI is nice too! I think my ideal situation would be FastAPI's endpoints/routing, combined with Django's ORM and DRF's automagic serializers/viewsets.

                                      R This user is from outside of this forum
                                      R This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #170

                                      You may like Django Ninja with a dash of FastAPI-HTMX or Fasthx.

                                      1 Reply Last reply
                                      0
                                      • L [email protected]

                                        I agree. A lot of people who mock PHP know almost nothing about it but they know they're supposed to hate it because all the cool kids do.

                                        K This user is from outside of this forum
                                        K This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #171

                                        "What's the best tool"

                                        "LINUX!!!!"

                                        "Weird because I haven't told you what I'm trying to build yet"

                                        L 1 Reply Last reply
                                        0
                                        • merc@sh.itjust.worksM [email protected]

                                          Java is a better fit. It hasn't fallen in popularity the way PHP has. But, I'm not convinced that serious backend services mostly use Java. It's one of the languages used, sure. But, I don't know if it beats C/C++ or Go. Apache's C. Nginx is C. Kubernetes is Go. Docker is Go.

                                          I think Java has a niche with certain kinds of business logic applications, and those are pretty common. I would guess that in a typical set of interactions with a Google product, or a Meta product, or an AWS product, some parts of the traffic will be handled by services written in Java. But, others will be C/C++ or Go. There will probably also be some parts of the process that are PHP or Ruby or Python, and a lot of Javascript.

                                          B This user is from outside of this forum
                                          B This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #172

                                          Java has been running serious server software since the mid 1990s. Think WebObjects running on Solaris. Lots of business stuff with big databases still run infrastructure like that.

                                          Java still has the big advantage of being machine agnostic. No need to recompile for ARM or Intel.

                                          merc@sh.itjust.worksM 1 Reply Last reply
                                          0
                                          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