[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua style guide ?
- From: Sean Conner <sean@...>
- Date: Thu, 8 Jun 2017 11:40:09 -0400
It was thus said that the Great steve donovan once stated:
> On Thu, Jun 8, 2017 at 7:21 AM, Sean Conner <sean@conman.org> 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
> bikeshedding!
>
> 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
> constants)
>
> I'm fine with that since my opinions do not differ from rustc ;)
Sigh. A reason not to use Rust then.
-spc (IHateCamelCase)