[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reformat all of src/
From: |
Yuri Khan |
Subject: |
Re: Reformat all of src/ |
Date: |
Thu, 29 Dec 2016 00:12:50 +0700 |
On Wed, Dec 28, 2016 at 11:59 PM, John Wiegley <address@hidden> wrote:
> If we were going to reformat all the sources, I'd rather we observe the rule
> "never use tabs". I don't see what benefit they possibly offer.
They offer customizable indentation, but only for some coding styles.
For the GNU style where function parameters and arguments on the
continuation lines are lined up with those on the first line, tabs are
indeed harmful.
GNU style:
void some_function(int arg1,
...................int arg2)
Tab-friendly style:
void some_function(int arg1,
<-->int arg2)
Bad:
void some_function(int arg1,
<--><--><--><-->...int arg2)
Equally bad:
void some_function(int arg1,
<------><------>...int arg2)
- Re: Reformat all of src/, (continued)
- Re: Reformat all of src/, Lars Ingebrigtsen, 2016/12/28
- Re: Reformat all of src/, Phillip Lord, 2016/12/28
- Re: Reformat all of src/, Stefan Monnier, 2016/12/28
- Re: Reformat all of src/, Phillip Lord, 2016/12/28
- Re: Reformat all of src/, Stefan Monnier, 2016/12/28
- Re: Reformat all of src/, Eli Zaretskii, 2016/12/28
- Re: Reformat all of src/, Yuri Khan, 2016/12/28
- Re: Reformat all of src/, Lars Ingebrigtsen, 2016/12/28
- Re: Reformat all of src/, Yuri Khan, 2016/12/28
- Re: Reformat all of src/, John Wiegley, 2016/12/28
- Re: Reformat all of src/,
Yuri Khan <=
- Re: Reformat all of src/, Phillip Lord, 2016/12/28
- Re: Reformat all of src/, Paul Eggert, 2016/12/28
- Re: Reformat all of src/, Dmitry Gutov, 2016/12/28
- Re: Reformat all of src/, Paul Eggert, 2016/12/29
- Re: Reformat all of src/, Dmitry Gutov, 2016/12/29
- Re: Reformat all of src/, Paul Eggert, 2016/12/29
- Re: Reformat all of src/, Phillip Lord, 2016/12/30
- Re: Reformat all of src/, Dmitry Gutov, 2016/12/31
- Re: Reformat all of src/, Phillip Lord, 2016/12/29
- Re: Reformat all of src/, Eli Zaretskii, 2016/12/29