On 4/25/19 8:14 PM, James Bennett wrote:
I like Django's style guide.
I like the *idea* of an autoformatter.
I dislike the particular mostly-unconfigurable style Black enforces, and
I find that several of its rules negatively impact code readability.
So I would be -1 on applying it to Django.
I think this very clearly sums up what I was going to say on this topic,
if I hadn't already.
I see the benefits [lower barrier to entry, time saving for the Fellows,
etc], but I don't believe Black is the answer.
Specifically because in my own experience with it (as well as
demonstrated in this list) there are cases where its style makes code
significantly harder to read.
And IMHO, the sole purpose of a consistent style (and thus a style
guide) is to reduce the cognitive load of humans parsing code.
--
Curtis
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/2e34fd6f-98c7-d34f-630c-b0945d621ec5%40tinbrain.net.
For more options, visit https://groups.google.com/d/optout.