kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Programmer Humor@programming.devbyPro@programming.dev
11 months

[No PHPun Intended] "I code in PHP"

nophpunintended.com English

Source.

8
    You must log in or register to comment.

    • x00z@lemmy.worldEnglish
      11 months

      “This can’t be true because PHP is dead.”

        • ViatorOmnium@piefed.socialEnglish
          11 months

          That is not dead which can eternal lie.

          Though HP’s disturbed mind couldn’t ever come up with something as upsetting as the average PHP application’s codebase.

            • catty@lemmy.world
              11 months

              Indeed. Try making something with Symfony and you’re going to have to adhere to strict theoretical guidelines that encourages you to write 200 10-line files, for a simple application. Use Drupal and well, you’re going to spend ten years just to understand how it all works on that pathetic joke, use laravel and as opinionated as it is, it’s probably going to make a lot more sense to you in ten months time.

              Unless, you want to do something in the database other than basic CRUD. That’s when ugly hacks are needed.

            • Ptsf@lemmy.world
              11 months

              It lives on in the halls of financial mainframes, next to his uncle Cobal.

            • xthexder@l.sw0.com
              11 months

              Worldwide SaaS is about as descriptive as Business Company

              • catty@lemmy.world
                11 months

                The worst code I’ve ever seen (by a longshot) was written in php.

                  • JackbyDev@programming.devEnglish
                    11 months

                    Worst I’ve seen was at an old job. Another team broke up their project so nearly every Java class (file) was a separate Maven module. For folks unfamiliar with Maven, you may think that just means a different folder. That would be a Java package. Maven modules are compilation units with an entire XML file explaining the project with dependencies. So instead of their code being in one or , you know, less than five or so modules there were dozens. I wanna say a hundred but I don’t want to exaggerate and don’t remember.

                    Thankfully these were subprojects so they were still in one git repository and could all be built with a single invocation of Maven, but navigating it was a massive pain.

                    I try not to make assumptions about “bad code” but I can’t think of any legitimate reason for that layout of one class per Maven project.

                    • Botzo@lemmy.world
                      11 months

                      I thought so too until I recently inherited some asp.net code that defies basic comprehension and has existed since well before vibe coding.

                    Programmer Humor@programming.dev

                    programmer_humor@programming.dev

                    Subscribe from remote instance

                    Create post

                    Report community

                    Modlog
                    You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

                    Welcome to Programmer Humor!

                    This is a place where you can post jokes, memes, humor, etc. related to programming!

                    For sharing awful code theres also Programming Horror.

                    Rules

                    • Keep content in english
                    • No advertisements
                    • Posts must be related to programming or programmer topics
                    Visibility: Public

                    This community is visible to everyone.

                    • 311 users / Day
                    • 262 users / Week
                    • 276 users / Month
                    • 14.5K users / 6 months
                    • 2.33K posts
                    • 89.9K comments
                    • 2 local subscribers
                    • 31.9K subscribers
                    • UI: 1.0.0-beta.0
                    • BE: 1.0.0-alpha.20
                    • Modlog
                    • Instances
                    • Docs
                    • Code
                    • join-lemmy.org