Single or double quotes in Python?
·
·
Whatever you think about Twitter these days, it’s pretty handy for us developers to ask questions and get inputs 💡 Last week I asked about single vs double quotes in Python: I thought double quotes were a given, black – “The Uncompromising Code Formatter”, defaults to them and I personally find them pleasant to the eye. Until I read about a different formatter in Fluent Python (2nd ed) called blue (“a somewhat less uncompromising code formatter than black”) and its preference for single quotes: Given the goal of enforcing a “standard” coding style, blue is better than black because it follows…