[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua Style Guide ?
- From: Russell Haley <russ.haley@...>
- Date: Wed, 7 Jun 2017 23:26:30 -0700
On Wed, Jun 7, 2017 at 8:50 PM, Daurnimator <quae@daurnimator.com> wrote:
> On 7 June 2017 at 01:41, Russell Haley <russ.haley@gmail.com> wrote:
>> I am biased, but I find daurnimators code so elegantly simple it 'has no style'.
>
> Thanks!
> I wouldn't say it has no style though: my coding style has evolved
> over the years.
> Back in 2008ish I wrote this up about my coding style at the time:
> https://code.google.com/archive/p/lomp/wikis/CodingStyle.wiki
> However much of my preferences have now changed.
Well apparently I do have a style and I Bruce-Lee'd it from daurnimator. :P
Russ
> If I thought anyone would read+follow a coding style guide, I might
> keep one updated. But I've learnt that no one *does* read them: it's
> more practical to have a "house style" for a project, and catch
> anything that deviates in a pull request.
> The only time a guide works is when they have tooling to enforce it:
> however for such a tool to be useful (no one agrees on style!) it has
> to be tremendously configurable.
> Even then you have to persuade people to use the tooling (see how
> often people use astyle or clang-format).
>
- References:
- Lua Style Guide ?, J Doe
- Re: Lua Style Guide ?, Edu Araújo
- Re: Lua Style Guide ?, Pierre Chapuis
- Re: Lua Style Guide ?, steve donovan
- Re: Lua Style Guide ?, Soni L.
- Re: Lua Style Guide ?, Francisco Olarte
- Re: Lua Style Guide ?, Marc Balmer
- Re: Lua Style Guide ?, Dirk Laurie
- Re: Lua Style Guide ?, Russell Haley
- Re: Lua Style Guide ?, Daurnimator