Futurology Today
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 10 months ago

Brace Style

sh.itjust.works

message-square
155
link
fedilink
1.3K

Brace Style

sh.itjust.works

Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 10 months ago
message-square
155
link
fedilink
  • SlothMama@lemmy.world
    link
    fedilink
    arrow-up
    52
    arrow-down
    6
    ·
    10 months ago

    I low key love it. It’s unconventional, but it’s not hard to read

    • repungnant_canary@lemmy.world
      link
      fedilink
      arrow-up
      28
      ·
      10 months ago

      it’s not hard to read

      Until there’s missing brace somewhere

      • Jyek@sh.itjust.works
        link
        fedilink
        arrow-up
        8
        ·
        10 months ago

        I think this could be better for reading but harder for writing. Like you could write a script that converts between this and the easier to write way if you are working on a project with others.

      • Caveman@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        10 months ago

        On braces are not used in if or for statements

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.05K users / day
  • 4.6K users / week
  • 9.01K users / month
  • 17.5K users / 6 months
  • 10 local subscribers
  • 23.1K subscribers
  • 1.28K Posts
  • 40.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org