Re: [RFC/PATCH] CodingGuidelines: spell out post-C89 rules

2019-07-18 Thread Jonathan Nieder
Junio C Hamano wrote: > -- >8 -- > Even though we have been sticking to C89, there are a few handy > features we borrow from more recent C language in our codebase after > trying them in weather balloons and saw that nobody screamed. > > Spell them out. > > While at it, extend the existing variabl

Re: [RFC/PATCH] CodingGuidelines: spell out post-C89 rules

2019-07-17 Thread Junio C Hamano
Bryan Turner writes: > On Tue, Jul 16, 2019 at 10:21 AM Junio C Hamano wrote: >> >> Even though we have been sticking to C89, there are a few handy >> features we borrow from more recent C language in our codebase after >> trying them in weather balloons and saw that nobody screamed. >> >> Spell

Re: [RFC/PATCH] CodingGuidelines: spell out post-C89 rules

2019-07-17 Thread Junio C Hamano
Jonathan Nieder writes: > Junio C Hamano wrote: > >> Even though we have been sticking to C89, there are a few handy >> features we borrow from more recent C language in our codebase after >> trying them in weather balloons and saw that nobody screamed. >> >> Spell them out. > > Thanks for this.

Re: [RFC/PATCH] CodingGuidelines: spell out post-C89 rules

2019-07-16 Thread Bryan Turner
On Tue, Jul 16, 2019 at 10:21 AM Junio C Hamano wrote: > > Even though we have been sticking to C89, there are a few handy > features we borrow from more recent C language in our codebase after > trying them in weather balloons and saw that nobody screamed. > > Spell them out. > > While at it, ext

Re: [RFC/PATCH] CodingGuidelines: spell out post-C89 rules

2019-07-16 Thread Jonathan Nieder
Junio C Hamano wrote: > Even though we have been sticking to C89, there are a few handy > features we borrow from more recent C language in our codebase after > trying them in weather balloons and saw that nobody screamed. > > Spell them out. Thanks for this. It gives a place to advertise future

[RFC/PATCH] CodingGuidelines: spell out post-C89 rules

2019-07-16 Thread Junio C Hamano
Even though we have been sticking to C89, there are a few handy features we borrow from more recent C language in our codebase after trying them in weather balloons and saw that nobody screamed. Spell them out. While at it, extend the existing variable declaration rule a bit to read better with t