Leading commas are a good idea, since the first non-whitespace character of
a line tells you if it is a continuation.
On Wednesday, October 19, 2016 at 12:58:17 PM UTC-4, Peter Damoc wrote:
>
> On Wed, Oct 19, 2016 at 3:02 PM, John Orford > wrote:
>
>> Commas beginning
On Wednesday, October 19, 2016 at 10:58:17 AM UTC-6, Peter Damoc wrote:
>
> On Wed, Oct 19, 2016 at 3:02 PM, John Orford > wrote:
>
>> Commas beginning lines etc.
>>
>> Perhaps not idiomatic in Python or JS, but new good ideas rarely are : )
>>
>>
> I think I've answered too
On Wed, Oct 19, 2016 at 3:02 PM, John Orford wrote:
> Commas beginning lines etc.
>
> Perhaps not idiomatic in Python or JS, but new good ideas rarely are : )
>
>
I think I've answered too quickly in the previous reply.
Commas beginning lines looks weird to a lot of
Haskell has hindent, which (now) follows the Elm philosophy of having a
single style, not customizable. It's quite as nicely spread out as Elm, but
it's at least close.
On Wed, Oct 19, 2016 at 9:52 AM, Peter Damoc wrote:
> On Wed, Oct 19, 2016 at 3:02 PM, John Orford
On Wed, Oct 19, 2016 at 3:02 PM, John Orford wrote:
> Perhaps not idiomatic in Python
>
Most formaters are also known as beautifiers and the Zen of Python starts
with
Beautiful is better than ugly.
also, regarding the extra LOC
Sparse is better than dense.
The standard elm code style is v nice - anyone know whether you can
/similar/ styles to use with auto-formatters for other languages? I.e. very
spread out, with no aversion to adding to LOC counts : ) Commas beginning
lines etc.
Perhaps not idiomatic in Python or JS, but new good ideas rarely are