4 ms·
> Which keyboards do not have a '~' key? Most euro keyboards need at least AltGr + key, possibly 2 keys (because ~ is a dead key, so a space is needed to inser
by masklinn 13y ago
> Which keyboards do not have a '~' key?
Most euro keyboards need at least AltGr + key, possibly 2 keys (because ~ is a dead key, so a space is needed to insert the character itself)
> How do those people type a path relative to their home directory? Use $HOME/foo/bar all the time?
It's common to `cd; cd foo/bar`
- luchs 13y agoThese keyboards usually don't have a convenient way to type {}[] either, these are AltGr + number keys in the German and French layouts for example. The keyboard situation doesn't seem to be as bad as for the degree sign °, which doesn't seem to be typeable on an English keyboard at all.
- simlevesque 13y agoFrench layout keyboards do have a convenient way to type {}[], for me with Canadian French it is under 7890 using alt.
- Solarsail 13y agoFrench Canadian keyboards are fairly different from European French keyboards: French Canadian: http://www3.uakron.edu/modlang/french/images/kbd4.gif http://www3.uakron.edu/modlang/french/images/kbd4.gif European French: http://www.fentek-ind.com/images/frenchkeytop.gif http://www.fentek-ind.com/images/frenchkeytop.gif
- dbaupp 13y agoNot being able to type those symbols causes problems with almost all programming languages (i.e. programmers are likely to have customised their keyboards for those symbols), but ~ is really only a major problem for Rust (and maybe bit-fiddling in C).
- kps 13y agoIt is not 1974, and people are not limited to typing the characters molded into the type wheel and keytops at the factory. At the moment, it's as easy for me to type × or † as it is to type + or _, and I would happily make it as easy to type λ or ← to get the benefit of reading code as such. The situation with ~ is simpler; it's used by plenty of programming systems today, and any programmer who uses it and can't type it as easily as on a default US keyboard (i.e. with one modifier+key press) is not using their tools effectively.
- loup-vaillant 13y agoSadly, most people don't use a sane layout. Instead, they use the default layout. It's just the status quo bias at work, which explains why the qwerty layout and staggered key still exist, despite overwhelming evidence in favour of alternatives. (To anyone who feels the urge to educate me on the Fable of the Keys, remember that typing speed is not the only worthy criterion. Comfort, RSI, and ease of learning, matter much more.)
- 4bpp 13y agoAt least on a German keyboard, the <> required for Box<T> is a more painful combination to type, as < is the key next to the left shift key and > is the shifted version of the same. At the same time, ~ is right alt and +, where + is roughly where ] is on a US English keyboard. With my typing style, the former is a complex press-release sequence with the left pinky and ring finger, whereas the latter is a single chord executable with the right thumb and ring finger.