dormi.zone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alphacyberranger to Programmer Humor@programming.devEnglish • 1 year ago

Added Bugs to Keep my job

sh.itjust.works

message-square
161
fedilink
350

Added Bugs to Keep my job

sh.itjust.works

alphacyberranger to Programmer Humor@programming.devEnglish • 1 year ago
message-square
161
fedilink
  • @Schal330@lemmy.world
    link
    fedilink
    51•1 year ago

    Removed double quotes, added single quotes

    • @iAvicenna@lemmy.world
      link
      fedilink
      35•1 year ago

      someone later on -m “removed single quotes, added double quotes”

      • @QuazarOmega@lemy.lol
        link
        fedilink
        English
        19•1 year ago

        More commits == More money!!!

        • @gravitas_deficiency@sh.itjust.works
          link
          fedilink
          English
          7•1 year ago

          Real talk: I have worked at a company where an exec briefly had the bright idea to rank developers on number of commits made.

          You can imagine how that turned out.

          He wasn’t an exec for very long.

          • @QuazarOmega@lemy.lol
            link
            fedilink
            English
            3•1 year ago

            lmaoo, I can’t believe someone actually did that and was serious about it.
            I’m already imagining commits piling up with comments like:

            • “add a newline”
            • “move function up”
            • “rename variable users to user_list”
            • “Revert previous commit”
            • “no John, it’s user_list and that’s it, don’t you dare change it again”

            He wasn’t an exec for very long.

            Good riddance I guess

            • @gravitas_deficiency@sh.itjust.works
              link
              fedilink
              English
              5•1 year ago

              Oh, no, we can do better.

              Every single line of every single PR is an individual commit. And never squash-commit.

              • @QuazarOmega@lemy.lol
                link
                fedilink
                English
                2•1 year ago

                Talk about atomic commits

                • @gravitas_deficiency@sh.itjust.works
                  link
                  fedilink
                  English
                  2•
                  edit-2
                  1 year ago

                  If you really want to nuke it from orbit: do it for every character.

                  It is absolutely technically feasible to go further than that, but I think that’s the point of diminishing returns in terms of effort.

                  • @QuazarOmega@lemy.lol
                    link
                    fedilink
                    English
                    1•1 year ago

                    Hah, I knew it would come to that

                    but I think that’s the point of diminishing returns in terms of effort

                    Not if you make another application to automatically split commits in that way… application which will need its own commits, it’s never-ending

    • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖
      link
      fedilink
      English
      2•1 year ago

      Why do u prefer single quotes?

      • @grrgyle@slrpnk.net
        link
        fedilink
        4•1 year ago

        Not Shall330, but double quotes can imply variables in the string in some languages.

        • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖
          link
          fedilink
          English
          2•1 year ago

          Which languages are these?

          • @bitchkat@lemmy.world
            link
            fedilink
            English
            5•1 year ago

            PHP for one. “$x” will interpret the variable $x. ‘$x’ does not.

            • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖
              link
              fedilink
              English
              2•1 year ago

              Well there’s ya problem ur using php.

              • @charolastra@programming.dev
                link
                fedilink
                4•1 year ago

                Also bash

                • @nyan@lemmy.cafe
                  link
                  fedilink
                  English
                  2•1 year ago

                  And Perl.

      • @Schal330@lemmy.world
        link
        fedilink
        3•1 year ago

        I have no preference! It was to do with Spring/yaml config and some really strange conflict which required the use of single quotes. I’m still a total noob in the world of software dev, so I wouldn’t be able to explain why it worked 🤣

Programmer Humor@programming.dev

!programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
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
  • 1.16K users / day
  • 3.98K users / week
  • 7.83K users / month
  • 17K users / 6 months
  • 23.3K subscribers
  • 1.38K Posts
  • 48.4K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org