[Xastir-dev] Editor header in source files

km5vy Tom Russo russo at bogodyn.org
Tue Apr 30 10:53:09 PDT 2019


Seconded.

I think that the people who established the current standard for Xastir
are long gone, and maintaining consistency with that style for the sake
of consistency has gone on long enough.

I personally hate *both* the four-space indentation *and* the 
"egyptian brace"/K&R style, and prefer the 2-space indentation and
the brace style you say you prefer (with the left brace lining up with
the line before it, and the right brace lining up with the left).


On Tue, Apr 30, 2019 at 10:40:20AM -0700, we recorded a bogon-computron collision of the <curt.we7u at gmail.com> flavor, containing:
> On Tue, Apr 30, 2019 at 10:10 AM Tom Russo <russo at bogodyn.org> wrote:
> 
> > Four character indents are the Xastir coding standard.
> >
> > http://xastir.org/index.php/HowTo:Developer_Guidelines_and_Notes
> >
> > I personally hate it, but that's what this project has always required.
> >
> 
> Right. I don't like it either. We're probably at a point now where we could
> vote that out. Should probably do that vote on the developer's list.
> 
> FWIW: Other than the Xastir project I like to do 2-char indentation
> (spaces, not tabs) and bracing like this:
> 
> if (true)
> {
>   blah blah;
> }
> 
> While Xastir uses:
> 
> if (true) {
>   blah blah;
> }
> 
> I'm less concerned about changing the bracing standard than I am the
> indentation, but perhaps we could vote on both.
> 
> -- 
> Curt, WE7U        http://we7u.wetnet.net        http://www.sarguydigital.com

-- 
Tom Russo    KM5VY
Tijeras, NM  

 echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]



More information about the Xastir-dev mailing list