3 ms·
And yet, somehow, no such thing has actually happened.
by moron4hire 5y ago
And yet, somehow, no such thing has actually happened.
- CapsAdmin 5y agoI've witnessed curly quotes finding its way into html due to copy paste causing at least an hour of debugging. So I can imagine when there are tools to prettify code for blogs this can become an issue for some languages. While not entirely related to ligatures, my own biggest offender has been strange whitespace being treated as an identifier in LuaJIT. Mostly caused by my Norwegian keyboard layout producing strange whitespace when you want to write the not operator "~=" if you're not careful enough. You can blame many parts here, LuaJIT for allowing this in the first place, editors lacking tools to deal with it or normalize pasted code, me for not using a us layout, me copy pasting code, or me not being careful enough. Thankfully vscode will now highlight non standard whitespace with a yellow box. And best of all I've learned to be aware of these things when copy pasting code from the browser.