Re:Django: Reformatted code with Black
by spc476 on Tuesday February 08, 2022 @08:17PM
(#30267341)
Yes, it's opinionated, but who's opinion got carved into stone?
[ Parent
| on HN ]
Re:Django: Reformatted code with Black
by belval on Wednesday February 09, 2022 @10:11AM
(#30273504)
That does not really matter as long as the default are somewhat sensible. As far as I can tell Black's are.
gofmt is also opiniated. Someone somewhere picked the defaults and maybe I disagree with those defaults, but in the grand scheme of things, all go code is more approachable because it all looks the same. That to me, is worth a lot more than having my favorite format be the one on top.
EDIT: If you want to discuss the actual merits of Black, you can read their style page that actually explains every choice they made: https://black.readthedocs.io/en/stable/the_black_code_style/...
Re:Django: Reformatted code with Black
by frosted-flakes on Tuesday February 08, 2022 @10:13PM
(#30268295)
Does it matter?