TimeSink
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years ago

Brace Style

sh.itjust.works

message-square
63
link
fedilink
66

Brace Style

sh.itjust.works

Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years ago
message-square
63
link
fedilink
  • zalgotext@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    It does, but most style guides and autoformatters will use 4

    • ℍ𝕂-𝟞𝟝@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Python is one of the few languages with an official style guide, I think that guide says 4 spaces.

      • northendtrooper@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Tabs!

        • baltakatei@sopuli.xyz
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          deleted by creator

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.39K users / day
  • 5.37K users / week
  • 9.7K users / month
  • 18.4K users / 6 months
  • 1 local subscriber
  • 30.6K subscribers
  • 1.88K Posts
  • 56.6K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org