[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Style Guide ?
- From: Russell Haley <russ.haley@...>
- Date: Sun, 11 Jun 2017 00:34:57 -0700
On Fri, Jun 9, 2017 at 5:04 PM, Hisham <firstname.lastname@example.org> wrote:
> Design by voting hardly ever works, especially when there is
> aesthetics involved. Some of these choices are related to each other,
> so a hodgepodge of "most voted options" would likely be inconsistent.
I couldn't agree more. This was just pie in the sky thoughts. I was
thinking from a statistical analysis perspective. I started with yours
on Friday afternoon to see how it works.
> Not to mention that lua-l is just a slice of the Lua world as a whole
> (and those who voice their opinions here are a further slice of that),
> so it's hard to represent that as the community opinion too. In any
> case, the styles presented here already display some combinations
> which work well for different people, so I think that's pretty good to
> get people going when defining their own.
> -- Hisham
> On 9 June 2017 at 15:42, Russell Haley <email@example.com> wrote:
>> It would be interesting to put these lists of rules that people have
>> generated in a system that records votes and see what the real
>> community opinion of them is. Also, if it collected the list of items
>> you agreed with (and a converse list as well) and then compared that
>> to other peoples lists, you might be able to get a really good picture
>> of peoples various styles.
>> On Thu, Jun 8, 2017 at 3:58 PM, Tim Hill <firstname.lastname@example.org> wrote:
>>>> On Jun 6, 2017, at 12:13 AM, steve donovan <email@example.com> wrote:
>>>> On Mon, Jun 5, 2017 at 6:52 PM, Pierre Chapuis <firstname.lastname@example.org> wrote:
>>>>>  https://github.com/Olivine-Labs/lua-style-guide
>>>> "Using four spaces or tabs will result in public flogging". Ouch!
>>>> Reminds me of when Mike Pall said he would never collaborate with
>>>> anyone who used three-space indents.
>>>> Sean has it, I think: there's really not enough rationale for these
>>>> arbitrary things. I would go with Roberto, I don't think he would flog
>>>> anyone for using four spaces.
>>> I’ve used 4 spaces now mostly because my eyesight is poor and it simply helps me see things more clearly. It’s also so common as the default tab for editors that I prefer just going with the flow rather than always fighting other team members and/or other language standards in multi-language projects.