minigubben's lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
devilish666@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago

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

lemmy.world

message-square
29
fedilink
367

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

lemmy.world

devilish666@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago
message-square
29
fedilink
  • trolololol@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    1 year ago

    Pfff just randomly replace tabs with 4 spaces and see the world burn

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

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

        • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@lemm.ee
          link
          fedilink
          English
          arrow-up
          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
            arrow-up
            1
            ·
            1 year ago

            Buahahahah I know what to do next commit

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

              Its the python equivalent of a Greek question mark

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

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

  • 257 users / day
  • 188 users / week
  • 2.52K users / month
  • 4.01K users / 6 months
  • 2 local subscribers
  • 36.4K subscribers
  • 1.75K Posts
  • 36.2K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org