I think single-quote and double-quote characters should NOT be the same. It doesn't provide readability, causes inconsistency instead. Please always use double-quote as in many other programming languages.

@gokmen They are the same from the point of view of the computer. Projects have adopted style guides for when to use which.
For example, I like to use double quotes for strings that are actual text to be displayed somewhere, and single quotes for strings that are used internally.

@deshipu I'm doing the same way for a few years. Even this could be a rule in PEP8 instead of a recommendation or project-specific rule. Now I see that these string quotes are written in different styles in every project.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!

We adhere to an adapted version of the TootCat Code of Conduct and follow the Toot Café list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators.

Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!