41 ms·
The part about making things easy to type is interesting, because this generally only works with a single international keyboard layout (usually US English), e.
by flohofwoe 5y ago
The part about making things easy to type is interesting, because this generally only works with a single international keyboard layout (usually US English), e.g. making things easy to type on the US keyboard layout may make it harder on an international layout.
It's an old problem though, for instance the {}[] keys are terribly placed on the German keyboard layout, requiring the right-Alt-key which was enough for me to learn and switch to the US keyboard layout, and not just for coding.
I think a better approach for a programming language would be to use as few special characters as possible.
PS: Zig balances the '|' problem by using 'or' instead of '||' ;)
- formerly_proven 5y agoI've heard this before but personally I've never had a problem with {}[], I just use the right thumb for shifting to the ancient greek layer.
- dralley 5y ago>PS: Zig balances the '|' problem by using 'or' instead of '||' ;) I wish Rust had made that decision as well.
- e12e 5y agoIt's a bit bizarre to complain about the pipe symbol IMNHO (as a user of Norwegian kbd layout, where åæø/ÆØÅ takes up prime estate) - without pipe you can't use a posix shell at all - so if you're on a layout without pipe, it's not like you likely could use any languages outside Smalltalk/Self, or possibly Pascal... That said, yes, I think there's room for languages with very limited use of special characters. But I think they'd always be somewhat specialized. Like Markdown.