Hacker News new | ask | show | jobs
by jacobolus 3190 days ago
If you actually need to use this seriously there are ways of customizing keyboard layouts and text input on every platform and every reasonable text editor.
2 comments

Sure, but it's absurd to have to set up custom text entry for an unusual character just to use a programming language. Especially when every other template language manages to do so with characters I don't have to customize my text editor to simply type.
You can also change the lozenge operator to a different character. Its just convenient to pick one you won't ever have to escape
That is until you find an obscure enough example that uses it.
Presumably 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

I've never seen a vaguely popular programming language use ¬ and that is available on all keyboards (for some weird reason).
It surely is not avaiable on mine. Maybe it's a local thing?
I 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.

I have only seen Applescript use it.