social.sour.is
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ to Programmer Humor@lemmy.ml • 1 year ago

It's always semicolon, God damnit.......

lemmy.world

message-square
29
fedilink
366

It's always semicolon, God damnit.......

lemmy.world

𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ to Programmer Humor@lemmy.ml • 1 year ago
message-square
29
fedilink
  • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖
    link
    fedilink
    English
    3•1 year ago

    4 spaces is the preferred pythons is happy with either but the standard is 4 spaces. Vscodium ensures that.

    • @trolololol@lemmy.world
      link
      fedilink
      1•1 year ago

      Your editor is happy with either, but is it happy with both?

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

        My editor will take either and convert it to 4 spaces. Python can use spaces or tabs but not both in the same file.

        • @trolololol@lemmy.world
          link
          fedilink
          1•1 year ago

          Buahahahah I know what to do next commit

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

            Its the python equivalent of a Greek question mark

            • @trolololol@lemmy.world
              link
              fedilink
              1•1 year ago

              Plot twist https://programming.dev/post/12825985

Programmer Humor@lemmy.ml

!programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 570 users / day
  • 960 users / week
  • 2.45K users / month
  • 8.67K users / 6 months
  • 38.2K subscribers
  • 1.91K Posts
  • 41K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org