lemmy.sieprawski.pl
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alphacyberranger@sh.itjust.works to Programmer Humor@programming.devEnglish · 1 year ago

Added Bugs to Keep my job

sh.itjust.works

message-square
160
fedilink
322

Added Bugs to Keep my job

sh.itjust.works

alphacyberranger@sh.itjust.works to Programmer Humor@programming.devEnglish · 1 year ago
message-square
160
fedilink
  • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Why do u prefer single quotes?

    • grrgyle@slrpnk.net
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

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

      • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Which languages are these?

        • bitchkat@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 year ago

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

          • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.ee
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            1 year ago

            Well there’s ya problem ur using php.

            • charolastra@programming.dev
              link
              fedilink
              arrow-up
              4
              ·
              1 year ago

              Also bash

              • nyan@lemmy.cafe
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 year ago

                And Perl.

    • Schal330@lemmy.world
      link
      fedilink
      arrow-up
      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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.2K users / day
  • 4.74K users / week
  • 9.17K users / month
  • 17.8K users / 6 months
  • 1 local subscriber
  • 23.1K subscribers
  • 1.26K Posts
  • 40.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org