[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C/C++ lua_stackdump lib - feedback welcome
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 11 Oct 2016 09:32:33 +0200
On Tue, Oct 11, 2016 at 9:26 AM, Marc Balmer <marc@msys.ch> wrote:
> As other mentioned, brackets are not needed for one liners, so I leave them
> out. I generally leave out what is not needed.
Ah, but the problem is when they become two liners. It's a potential
maintenance problem.
Part of the issue is silly code styles that insist that braces must be
on their own line. (Puts on flame-retardant hat)