News for hackers. Stuff that matters.
Re:Black: An uncompromising Python code formatter by rndgermandude on Saturday May 26, 2018 @01:12AM (#17160346)
I despise people using single quotes even more than people using tabs instead of space, emacs instead of vim or GNU-style indentation instead of... anything sane :D
Re:Black: An uncompromising Python code formatter by greyman on Saturday May 26, 2018 @07:50AM (#17161546)
I used to use single quotes for dictionary keys and other constants, and double quotes for strings intended to be read by human. I read some article about it a considered it a good convention. Now I see it actually isn't a convention. :-) I switched to black just yesterday and overall I like it, still I miss a bit this distinction between single and double quotes.