Re:Code Generation in Rust vs. C++26
by Filligree on Thursday October 03, 2024 @09:31AM
(#41730636)
Your serde example isn’t even rendering in my browser. It’s also missing from my keyboard; how do you propose I type it?
[ Parent
| on HN ]
Lean (and iirc Mathematica) use backslash escapes: you type \symbolname and the symbol is inserted by your editor.
You can also imbue the backslash escape sequence with the same meaning as the unicode, so that in the event that the editor didn’t make this replacement it would still mean the same thing.
julia also. Mathematica uses literal “escape” sequences, ie you start a symbol by pressing the esc key and finish with another esc (aside from a bunch of bindings for commonly used things).
Re:Code Generation in Rust vs. C++26
by greenavocado on Thursday October 03, 2024 @09:52AM
(#41730813)
This isn't extreme enough. We need to use APL specific keyboards and write in APL for maximum clarity
thats the joke
It got me, I've seen this sort of suggestion made un-ironically enough that it seemed believable
Re:Code Generation in Rust vs. C++26
by mikepurvis on Thursday October 03, 2024 @10:07AM
(#41730951)
I also assumed initially that it was serious, but upon reflection, "a modest proposal" is the educated man's /s.
The most general solution is to configure yourself a Compose key [0]. Useful for typing anything that doesn’t directly figure on your keyboard.