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.
  • mrsoup@lemmy.zipM [email protected]

    W-what? Did you used js as backend? How was performance?

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

    Happens a lot - my (quite small) shop was using NestJS for backends and my boss is way more experienced and wise than me. I unintentionally caused us to switch over to Python, which probably sounds as silly as JS to many, but - we deliver dope shit, on time and on budget 🤷‍♂️

    1 Reply Last reply
    3
    • J [email protected]

      Ah yes, the language that picked strlen as the hash function for its hashtables.

      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
      #133

      Can you elaborate on this?

      J 1 Reply Last reply
      5
      • L [email protected]

        Or TSP (trisodium phosphate) - which you can't even make websites with, but it's great for cleaning oil spots off the driveway.

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

        Well, now, that's useful, but we shouldn't fail to mention good ol HCl, muriatic acid colloquially for this purpose, also great for cleaning oil stains from a driveway!

        1 Reply Last reply
        2
        • K [email protected]

          Can you elaborate on this?

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

          Source: https://news-web.php.net/php.internals/70691

          1 Reply Last reply
          2
          • bilb@lemmy.mlB [email protected]

            Webassembly frameworks.

            Blazor! But only because I'm a dotnet guy professionally.

            Yew? I'm not good enough with Rust to have tried it.

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

            Dotnet professionally and using lemmy.ml socially is hilarious to me and (sincerely) entirely consistent. Makes perfect sense, I just find it funny. (I'm not being sarcastic or attacking you, might not be clear lol)

            1 Reply Last reply
            0
            • D [email protected]

              Let's be honest though. The early PHP versions were absolute dog shit. And the definition of how not to design a programming language. That said, that never stopped anyone in web development from using it apparently. No clue what modern PHP looks like, apparently it's better now.

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

              I've never heard of a programming language that people don't consider shit

              1 Reply Last reply
              9
              • C [email protected]

                There really isn’t a language that has completely disappeared.

                How about that shit where a "program" was a bunch of patch cables plugged into various sockets? That shit is gone, man.

                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
                #138

                Just for the sake of being contrary, I know that there are still machines running on punch cards in some army-related places, where not changing anything is mandatory. I wouldn't be surprised if hot-wiring is also still there somewhere, it's just mostly running without changes.

                C 1 Reply Last reply
                1
                • internetcitizen2@lemmy.worldI [email protected]

                  That's also 30 years old, old man!

                  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
                  #139

                  A language usually doesn't become worse with time, at least if the devs do a good job at improving it.

                  There are cases of new languages that looked better but didn't become mainstream because the ecosystem requires time to grow (and adoption, which creates a vicious cycle because adoption requires ecosystem to already be there)

                  1 Reply Last reply
                  5
                  • mrsoup@lemmy.zipM [email protected]

                    W-what? Did you used js as backend? How was performance?

                    zos_kia@lemmynsfw.comZ This user is from outside of this forum
                    zos_kia@lemmynsfw.comZ This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #140

                    It's very rare that the backend language significantly affects performance. In 99% of apps you could have the most optimized backend written directly in machine language, and you'd just shave off milliseconds.

                    That's because in web development most of the latency comes from i/o (network requests, database access, file access), not from computation being slow.

                    B 1 Reply Last reply
                    7
                    • P [email protected]

                      Wasm cannot modify the DOM iirc

                      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
                      #141

                      I've toyed with WASM, creating a simple sudoku page, and it did take an empty page, added all the buttons, and then changed them upon user interaction.

                      I think, I also heard of the DOM modification limitations, but it's not a hard barrier afaik, there are just some cases where it can't

                      But still, doing something in (pure) WASM looks way harder than needed to me

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

                        It should be rewritten in rust, any way.

                        ::: spoiler Spoiler
                        /s
                        :::

                        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
                        #142

                        ✍️ we need PHP interpreter written in Rust, noted

                        1 Reply Last reply
                        0
                        • J [email protected]

                          Ah yes, the language that picked strlen as the hash function for its hashtables.

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

                          Waaaaaaat

                          J 1 Reply Last reply
                          3
                          • R [email protected]

                            I personally feel that giving the growing user base things they want is probably the most prudent reason. Constantly refusing to provide simple constructs that are available everywhere else It's not a good look. In the open source world if you do that shit enough you end up getting forked.

                            The context and ease of switch in a functional programming layout is a rather clean implementation.

                            Otherwise you end up with the crap like they're pulling with flask were you just make an unnamed, unindexed number of functions. Can you sort and organize your functions and make everything clean? Sure you can. Does it happen by default? Almost never.

                            You can walk up to someone else's switch and see what the options are. The code flows through that simple construct and it's very easy to understand someone else's work.

                            I load up someone else's flask endpoint, It's just this multi-page stream of consciousness.

                            You don't need switch, But there's a reason why so damn many people ask for it. Before they agreed to include "match", They said just to use getattr and write your own switch.

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

                            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 1 Reply Last reply
                            1
                            • zos_kia@lemmynsfw.comZ [email protected]

                              It's very rare that the backend language significantly affects performance. In 99% of apps you could have the most optimized backend written directly in machine language, and you'd just shave off milliseconds.

                              That's because in web development most of the latency comes from i/o (network requests, database access, file access), not from computation being slow.

                              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]
                              #145

                              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 1 Reply Last reply
                              0
                              • V [email protected]

                                Waaaaaaat

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

                                I also like T_PAAMAYIM_NEKUDOTAYIM

                                1 Reply Last reply
                                4
                                • S [email protected]

                                  I've toyed with WASM, creating a simple sudoku page, and it did take an empty page, added all the buttons, and then changed them upon user interaction.

                                  I think, I also heard of the DOM modification limitations, but it's not a hard barrier afaik, there are just some cases where it can't

                                  But still, doing something in (pure) WASM looks way harder than needed to me

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

                                  Interesting

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

                                    Most developers are also not going to create a "serious backend service". Most are making a random website, or chaining together a few "business logic" items. I think we're just talking about different levels of "serious backend service". Like, if you mean someone making a website for the biggest industrial machinery company in the fortune 500, but it's all B2B stuff and so it handles at most hundreds of QPS, then I think you'll find a lot of Java there. I just think that for the biggest B2C companies in the world that handle hundreds of thousands of QPS, it's not exclusively Java.

                                    I'm not trying to say Java is bad or anything. It's just that it has a few quirks (like garbage collection) that start to matter when you're getting eye-watering levels of traffic. So, for the most serious of the "serious backend services" I think you see Java, but you also sometimes see C/C++ and Go.

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

                                    What if those chains handle thousands of massages per second?

                                    Serious backend is indeed a stretchy term. And I agree with that point b2b java is common. But our b2b backend handles multiple thousands of massages per second. I find the bottleneck to be MySQL and RabbitMQ.

                                    I think it makes sense for a serious backend to have load balancing and nginx cache and horizontal scaling. I reckon QPS doesn't matter as much as you think it does.

                                    I still don't think that java would be considered niche. I rather think that C or C++ would be considered niche. It takes longer to develop, and is not memory safe so I don't think that most backend systems should consider it.

                                    1 Reply Last reply
                                    0
                                    • J [email protected]

                                      Ah yes, the language that picked strlen as the hash function for its hashtables.

                                      blackmist@feddit.ukB This user is from outside of this forum
                                      blackmist@feddit.ukB This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #149

                                      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 1 Reply Last reply
                                      12
                                      • S [email protected]

                                        Just for the sake of being contrary, I know that there are still machines running on punch cards in some army-related places, where not changing anything is mandatory. I wouldn't be surprised if hot-wiring is also still there somewhere, it's just mostly running without changes.

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

                                        The original Moog synthesizers used patch cords (in fact that's why a synthesizer instrument sound is still called a "patch") and I'm sure somebody somewhere is still fucking around with one of those.

                                        1 Reply Last reply
                                        1
                                        • T [email protected]

                                          Modern PHP is better because it's modern. Which early version of a programming language was good? I've used a lot of them, and by modern standards, I think dog shit is a somewhat appropriate description for most of them.

                                          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
                                          #151

                                          Early Kotlin and early Swift were good.

                                          B 1 Reply Last reply
                                          2
                                          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