logoalt Hacker News

NooneAtAll3today at 4:15 PM2 repliesview on HN

main problem isn't brackets themselves - it's that they're too on the right

had brackets been displayed as curly braces in C - everything would look much more manageable


Replies

eskatoday at 4:43 PM

I changed my opinion about parens when I stopped formatting like C, and used indent rather than parens to denote blocks. That is, a large amount of them at the end is totally fine.

phpnodetoday at 4:37 PM

so, instead of

    (foo (bar (1 2 3))
you'd prefer

    {
      foo {
        bar {
          1
          2
          3
        }
      }
    }
is that right?
show 2 replies