3 ms·
You can also change the lozenge operator to a different character. Its just convenient to pick one you won't ever have to escape
by setr 9y ago
You can also change the lozenge operator to a different character. Its just convenient to pick one you won't ever have to escape
- Ygg2 9y agoThat is until you find an obscure enough example that uses it.
- IshKebab 9y agoI've never seen a vaguely popular programming language use ¬ and that is available on all keyboards (for some weird reason).
- pathsjs 9y agoIt surely is not avaiable on mine. Maybe it's a local thing?
- yathern 9y agoI believe UK keyboards? I say this because when installing a new OS and it defaults to en-UK locale, some of my buttons on the right side of the keyboard do unexpected things (US here), and I always have to look up where exactly the single-quote button is. I believe sometimes that angle pops up.
- sigzero 9y agoI have only seen Applescript use it.
- setr 9y agoPresumably your usage is limited enough not to cover the entire unicode space, and even if you hit the current operator, it should be trivial to update all previous work with a new character, since its prior usage was unambiguous (literally character replacement). Tbh if you're assuming unicode input (which pollen does), and assuming its easy to write the character (which it is, given that system hotkeys for unicode are available or can be made available on most/all target systems), then it seems to me absurd to use the normal ascii character + escape character operators for embedding functionality in text