5 ms·
Says the line with two different hyphenating styles. It's an Easter egg.
by solox3 6y ago
Says the line with two different hyphenating styles.
It's an Easter egg.
- idoh 6y agoSo pedantic but I love it. For the GP, what you are looking for is them em dash (—) with no spaces around it, because the dash is its own form of punctuation.
- kelnos 6y agoA double-dash is a perfectly valid substitute for an em dash given that most (no?) keyboards have it on a key. Seems like a waste of time to always have to look up an escape code or copy/paste from somewhere when the intent of "--" is clear.
- idoh 6y agoI don't hold random comments on the internet to the highest standard because I am not a monster. However they are not equivalent and the em dash is a sign of extra polish.
- Veen 6y agoIt’s option-shift-hyphen on a Mac. And you can get at em dashes on an iOS keyboard by long pressing the hyphen. Not so difficult.
- SAI_Peregrinus 6y agoCompose--- on anything with a compose key. Linux mostly and Windows with the WinCompose program.
- taylorlunt 6y agoSome style guides allow for surrounding the em dash with spaces. It's a matter of preference.
- owl57 6y agoThese look like brackets, not binary operators. So, that's one style, but a rather unobvious one, and also contradicts PEP8, which says (as the very first thing in the section on inline spaces!) to avoid whitespace immediately inside brackets.