Hacker News new | ask | show | jobs
by VectorLock 1591 days ago
How did you perform the blind survey? Format some code with Black and YAPF and ask people which they liked better?
1 comments

Yeah exactly. I had 20 samples from our codebase that showed some representative differences and you had to click on which one you liked more. The order (Black/YAPF or YAPF/Black) was randomised.

I also had to turn off Black's quote normalisation otherwise it is really obvious which is which. Quote normalisation is another point in Black's favour.

I could put the survey up somewhere if anyone is interested.