Hacker News new | ask | show | jobs
by TylerE 1408 days ago
Shockingly about 98% of the population doesn't find massive mounds of nested parens especially readable.
2 comments

But massive mounds of </this_tag></that_tag></the_other_tag></yet_another_tag> is readable?

I mean, I guess you know what each tag is closing, which is more than you get with ))))...

It kind of is, actually.
But make the brackets curly and it's fine.
Curly bracket languages don't require braces around every statement.

If C was written like

    {if {x == 1}{
      {return {x + 1};}
    }
Maybe you'd have a point
That's nice, but we're not talking about con, we're talking about json.

Also your syntax is terrible. There are already s-expression versions of c:

    (if (== x 1)
        (return (+ x 1)))