Live data from Hacker News

Underscores are stupid? Get a Japanese keyboard (2012)

daveperrett.com

51–60 of 78 posts

Re: Underscores are stupid? Get a Japanese keyboard (2012)

#52
post #4

You can remap keys on any keyboard layout, no need to get a Japanese keyboard. Many years ago, I was working in a German lab and their keyboard layout is really impractical for programming in C-like languages because all commonly used symbols are really awkward to type. I wasn't well-versed in XFree86 then (or today for that matter) but I remember I could solve the problem by simply changing they map that Emacs uses…

The unmentioned detail is that japan has a narrower spacebar and two extra keys

Re: Underscores are stupid? Get a Japanese keyboard (2012)

#54
post #4

You can remap keys on any keyboard layout, no need to get a Japanese keyboard. Many years ago, I was working in a German lab and their keyboard layout is really impractical for programming in C-like languages because all commonly used symbols are really awkward to type. I wasn't well-versed in XFree86 then (or today for that matter) but I remember I could solve the problem by simply changing they map that Emacs uses…

The unmentioned detail is that japan has a narrower spacebar and two extra keys

Indeed - I recommend a split keyboard with two split spacebars on both sides. The Ergodox or it's FOSS equivalents are really nice once you program in some useful things and there are many very good keymaps for plug-and-play.

Re: Underscores are stupid? Get a Japanese keyboard (2012)

#55
post #4

You can remap keys on any keyboard layout, no need to get a Japanese keyboard. Many years ago, I was working in a German lab and their keyboard layout is really impractical for programming in C-like languages because all commonly used symbols are really awkward to type. I wasn't well-versed in XFree86 then (or today for that matter) but I remember I could solve the problem by simply changing they map that Emacs uses…

The German keyboard layout is honestly mindblowing bad for programming

Re: Underscores are stupid? Get a Japanese keyboard (2012)

#57

> ALT-yen-mark to get a proper backslash I believe this is an artifact of JIS_X0201, which is, to my knowledge, the first major Japanese 8-bit encoding and mostly 7-bit ASCII + Katakana (that character set you see in old Japanese video games) and some Japan-specific symbols filling the other half of the 8-bit space. In it, byte 0x23 was changed from "\" to "¥". The history is fascinating: > The 1964 ISO draft reserve…

It is still true nowadays. For Japanese version of Windows, you will see a lot of ¥ in all kinds of pathes.

Re: Underscores are stupid? Get a Japanese keyboard (2012)

#58
post #17

Maybe it's because I took an actual typing class way back in the dark days of actual clackity-clack type writers, but I don't get the dislike of shift keys. Are these people that learned to type from only playing games or other non-formalized learning to type? Kudos for you learning regardless of the method, I'm just looking at why I don't have the same aversion to the shift keys. I even use the "proper" shift key me…

I never learned to type "properly" and I also don't really care or think about modifier keys. I suspect it's one of those things - like coffee snobs searching for the perfect pourover technique, or steak snobs perfecting their reverse sear - wherein people take a hobby, passion, or profession of theirs and feel a need to hyperoptimize it.

[deleted]

Re: Underscores are stupid? Get a Japanese keyboard (2012)

#59
For multiple lexies into a single identifier, I love middle dot (·), which is actually works in most modern languages out of the box. Example `some·variable`. Try it in your favorite languages and let me now how it goes.

For elements that have to bee ditched in a destructuring operation, like `target, _ = some·generator()`, it’s possible to use a word that explicit this discard. One short one term for that is "lee", as in "Basest part, ‘dregs’, ‘refuse’[1]."

I wasn’t aware that many people disliked so much underscore and other YOLO approaches to morphe agglutination. I always felt sad that we had to endure this ridiculous typographical masochism that plague the whole industry. But going against a widespread habit, as absurd and sore could it be, is generally its own road to some form flagellation.

[1] https://www.oed.com/dictionary/lee_n2?tab=meaning_and_use#39...

Re: Underscores are stupid? Get a Japanese keyboard (2012)

#60
post #4

You can remap keys on any keyboard layout, no need to get a Japanese keyboard. Many years ago, I was working in a German lab and their keyboard layout is really impractical for programming in C-like languages because all commonly used symbols are really awkward to type. I wasn't well-versed in XFree86 then (or today for that matter) but I remember I could solve the problem by simply changing they map that Emacs uses…

The unmentioned detail is that japan has a narrower spacebar and two extra keys

If you take control over your keymap and break out of the idea that the keycaps have to say what the key actually does, the problem is rarely insufficient keys on the keyboard to do what you want, even before you start mucking around with layers or other fancy things. A key that you want to have at hand, but only occasionally, is fine on a SHIFT-CTRL or CTRL-ALT or CTL-Win setup and very few things are default bound to such shortcuts in general.

If it's only a couple of such keys, it is generally not too difficult to use someone else's keyboard if you need to; slightly annoying but you will recover how to do whatever it is you're doing right now reasonably quickly.

I recently switched to this 64-key keyboard: https://mistelkeyboard.com/products/0a26d32ac1e3b1d2af2896e0... I've got a setup where I put one half on each armrest. After a brief adjustment, it's fine, I've got everything I need at hand, and I use the keyboard like crazy; I have not obsessed over setting up a no-mouse setup, but I can hit the mouse single digit numbers of times per hour pretty easily. There's plenty of keys.

Post reply on HN