lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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 ;)

>
>   -spc (I'm being half-serious here, by the way ... )
>
>