[haiku-development] Re: The 80 columns limit?

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 08 Sep 2021 06:57:35 +0000

8 septembre 2021 01:26 "John Scipione" <jscipione@xxxxxxxxx> a écrit:

On Tue, Sep 7, 2021 at 6:42 PM X512 <dmarc-noreply@xxxxxxxxxxxxx> wrote:

On 2021/09/07 22:06, Alexander von Gluck IV wrote:
Agree. Tabs only. Our tabstop is variable with a default of 4.
Class declaration layout because completely broken if tab size is not 4.
On many websites incluging Haiku Gerrit without login default tab size
if 8 spaces.

That’s ok it’s a problem with Gerrit & GitHub, not Haiku.

I have reported the problem to Gerrit back in 2019 after discussing it on their 
mailing list:
https://bugs.chromium.org/p/gerrit/issues/detail?id=10287&q=pulkomandy&can=2

In Gerrit we can change the settings for new users, but not for the anonymous 
user.
At the time, settings for the anonymous users were hardcoded in the sourcecode
of Gerrit. I don't know if this has changed since.

Use hard tabs for indenting only, spaces to line things up only. Excessive 
lining things up is
discouraged in favor of indentation.

That's not what our coding style says, in particular in the case of declarations
of fields and methods in classes. And that's what X512 complains about.

-- 
Adrien.


Other related posts: