[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua Style Guide ?
- From: Hisham <h@...>
- Date: Fri, 9 Jun 2017 21:04:40 -0300
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.
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 <russ.haley@gmail.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 <drtimhill@gmail.com> wrote:
>>
>>> On Jun 6, 2017, at 12:13 AM, steve donovan <steve.j.donovan@gmail.com> wrote:
>>>
>>> On Mon, Jun 5, 2017 at 6:52 PM, Pierre Chapuis <catwell@archlinux.us> wrote:
>>>> [1] 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.
>>
>> —Tim
>>
>>
>