2 ms·
There's an interesting conversation to be had about developer ergonomics. For me, on a Mac, it's far more easier to use characters and symbols on the bottom of
by TobyTheDog123 4y ago
There's an interesting conversation to be had about developer ergonomics. For me, on a Mac, it's far more easier to use characters and symbols on the bottom of the keyboard.
<script></script>.
It's even easy to use a select few symbols from the number row.
!, @, #, $ uses my left pinky on the left shift, left hand middle (or index) finger on the number
&, *, (, and ) use my left pinky on the left shift, right hand finger on the number.
^ (and % + & to an extent) seem to be a no-mans land, similar to smart phone screens only allowing limited easy reach.
If you're going to be typing a symbol character to mark a variable (or whatever else) it certainly needs to be easy to reach, and for me at least, the ^ isn't.
Maybe it's just my typing style or that I have small fingers :(
Edit: Also, what about IDE plugins? I would hate to lose type safety or smart suggestions for a line like this:
<p>The time is now ^time.Now().String().</p>
- kroltan 4y agoAlso, some keyboard layouts use dead keys for inputting ^ as a diacritic (for example, ABNT2 Portuguese, the standard in Brazil). This means that to type "â" I press the ^ key, which is actually Shift+~, then I press the letter to go under it, in this case, "a". If I want to type a standalone ^, I have to either press Shift+~ twice, or follow the Shift+~ with an invalid letter, such as "q" or space. So typing a lot of code that uses ^ is very annoying. For example, to type "^section" you have to do: Shift+~, Space, S... Additionally, and this is purely Apple's fault for being entirely deranged, on Macs you have to watch out even further, as it is possible to write both ^ and ˆ, depending on what you press. Shift+~ then space prints the lone diacritic, while Shift+~ then right arrow prints the ASCII ^ you've seen so far. Obviously, having to reach for the arrow keys for a common occurrence when typing is incredibly inconvenient, on top of the inconvenience described previously.
- paulsmith 4y ago> Also, what about IDE plugins? An LSP server for Pushup syntax is on the informal roadmap.