[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's the line length limit in the Emacs codebase?
From: |
tomas |
Subject: |
Re: What's the line length limit in the Emacs codebase? |
Date: |
Fri, 25 Dec 2020 21:32:27 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Dec 25, 2020 at 06:11:57PM +0100, Philipp Stephani wrote:
[...]
> This seems overly complicated, and people are unlikely to follow
> complicated rules.
I tend to disagree.
> Let's just pick a number and stick to it consistently.
That doesn't make much sense, IMO. Most of the time it's
easy to stick to the recommended 70. More often than not,
it even helps to nudge oneself into structuring code
better.
But sometimes (e.g. you have long string literals where
breaks don't make sense -- but there are other examples),
it is rather counterproductive to stick religiously to
that rule.
Honestly, I perceive Stefan's criteria as pretty natural.
Cheers
- t
signature.asc
Description: Digital signature
- What's the line length limit in the Emacs codebase?, Philipp Stephani, 2020/12/23
- Re: What's the line length limit in the Emacs codebase?, Eli Zaretskii, 2020/12/23
- Re: What's the line length limit in the Emacs codebase?, Stefan Monnier, 2020/12/23
- Re: What's the line length limit in the Emacs codebase?, Philipp Stephani, 2020/12/25
- Re: What's the line length limit in the Emacs codebase?, Stefan Monnier, 2020/12/25
- Re: What's the line length limit in the Emacs codebase?, Philipp Stephani, 2020/12/26
- Re: What's the line length limit in the Emacs codebase?, Stefan Monnier, 2020/12/26
- Re: What's the line length limit in the Emacs codebase?, Richard Stallman, 2020/12/27
- Re: What's the line length limit in the Emacs codebase?,
tomas <=
- Re: What's the line length limit in the Emacs codebase?, Michael Albinus, 2020/12/26
- Re: What's the line length limit in the Emacs codebase?, Yuri Khan, 2020/12/26
- Re: What's the line length limit in the Emacs codebase?, Michael Albinus, 2020/12/26
- Re: What's the line length limit in the Emacs codebase?, Yuri Khan, 2020/12/26
- Re: What's the line length limit in the Emacs codebase?, tomas, 2020/12/26
- RE: What's the line length limit in the Emacs codebase?, Drew Adams, 2020/12/26
- Re: What's the line length limit in the Emacs codebase?, Philipp Stephani, 2020/12/26
Re: What's the line length limit in the Emacs codebase?, Philipp Stephani, 2020/12/25