logoalt Hacker News

sudahtigabulan • today at 2:03 AM • 3 replies • view on HN

> Note that programs were usually typed on as few lines as possible, because they had to be punched to punched cards or typed in at a teletype which echoed its input on paper.

I suspect this is the real reason behind "cram all the closing parentheses together on the same line" rule.

The only rationale I've seen online is in Taylor Campbell's style guide:

> Absolutely do not place closing brackets on their own lines.

> ...

> Rationale: The parentheses grow lonely if their closing brackets are all kept separated and segregated.

Yeah, right.

Anybody know anything about how this rule came to be?


Replies

weknowbetter • today at 2:18 AM

This drives me nuts. I love LISP but refuse to pretend writing `)))))))` is reasonable.

➕ show 3 replies
andsoitis • today at 2:16 AM

[flagged]

hujun236 • today at 2:46 AM

[flagged]