Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Another commenter articulated this, but my general style was single quotes on 'atoms' (e.g. mostly dictionary keys or set values), double quotes on anything intended to be read by a person. For that reason: to avoid \' all over.

Though with py3, using alt-shift-] on my machine gives me ’, so I can do 'Joe’s easier, here’s why.'



Or py2 via # -- coding: utf-8 --




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: