I've always been annoyed by the fact that some programming languages make a heavy use of one symbol that's not particularly easy to reach.
For instance:
- there are a lot of ; in Java
- but none in Scala, while Scala use a lot more : for type annotations
- likewise php and other languages make heavy use of $
- I don't really know about other languages but OCaml seems to use a lot of !, etc.
So I came up with this idea: what if we had one key that's easy to reach, and whose output would change depending on the language we use?
It could be mapped to : while typing proper english and scala, ; while typing java, also ; or & in C and C++, $ in php, etc.
Would that be worth it in your opinion?