[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua style guide ?
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 8 Jun 2017 13:51:20 +0200
On Thu, Jun 8, 2017 at 7:21 AM, Sean Conner <email@example.com> wrote:
> The only way to enforce an official style in *any* language is to embed
> the style in the language definition itself. No even the creators of Go
> were that fascist in their zeal for an official coding style (they wimped
> out and created go-fmt).
Heh, but they had curly-braces to deal with, always a fine topic for
We do not have the brace problem, fortunately, just the need to indent
(which Python embeds in the language)
As for 'programs are readable documents', they always look to be
better as poetry, not prose; never fear using too much vertical space.
The Rust compiler by default spits out yellow ink if violations of the
naming style happen (CamelCase types, snake_case variables, SHOUTING
I'm fine with that since my opinions do not differ from rustc ;)
> -spc (I'm being half-serious here, by the way ... )