Re:If I could amend PEP 8
by js8 on Monday January 23, 2017 @05:07AM
(#13461109)
All good rules started by nobody else using it. Though, in this case, at least three people discovered that rule independently.
[ Parent
| on HN ]
And +1. I thought it's just me. It works quite well in practice and can be applied to many languages. Unfortunately in quite a few of them out prevents interpolation, so it's not a 100% solution.
> Unfortunately in quite a few of them out prevents interpolation, so it's not a 100% solution.
A bigger issue IME is languages (mostly of the C family) where single-quoting is for character literals.
Also in Smalltalk comments are double-quoted, but that's a pretty rare language to encounter.