News for hackers. Stuff that matters.
Re:I have no capslock and I must scream by electroly on Tuesday February 22, 2022 @01:46AM (#30424715)
Holding down shift is not really a problem for constant names since you need it for the underscores anyway. You can type CONSTANT_NAME without lifting the shift key but with caps lock you still need to use shift anyway.
Re:I have no capslock and I must scream by tsimionescu on Tuesday February 22, 2022 @03:26AM (#30425341)
You can't "hold down" shift when writing CONSTANT_NAME if you're doing any kind of touch typing. You constantly have to switch between pressing left shift or right shift, so basically you're writing 13 key-combinations. With caps lock, you only need to use a key combination once (for _), instead of 13 times without.
Re:I have no capslock and I must scream by foxfluff on Tuesday February 22, 2022 @05:34AM (#30426198)
Any kind of touch typing allows ring finger to substitute for pinky when the latter is shift-locked.
Re:I have no capslock and I must scream by tsimionescu on Tuesday February 22, 2022 @09:58AM (#30428694)
Sure, but it's definitely harder than using CapsLock.
Re:I have no capslock and I must scream by electroly on Tuesday February 22, 2022 @10:38AM (#30429229)
Any kind of touch typing? No, I don't agree with that. I can type 140+ wpm and don't look at the keyboard, and I can hold down shift while typing CONSTANT_NAME. Pinky on shift, remaining 9 fingers type CONSTANT_NAME. The pinky would not be involved with this particular constant even if it were free. The kind of touch typing you learned in school has a problem with this, maybe.
Re:I have no capslock and I must scream by tsimionescu on Tuesday February 22, 2022 @11:14AM (#30429654)
A is normally typed using the left pinky, so holding left shift will force you to use the left ring finger for it.

To be fair, on some keyboards, including the one I use, it's easy to reach both the right and left shift keys, so it's easy to alternate shift keys as needed to avoid using other fingers or moving your hand from the home row.

Re:I have no capslock and I must scream by electroly on Tuesday February 22, 2022 @11:16AM (#30429679)
I guess it's important to note that I would use the right shift for this. I have the ability to choose on-the-fly rather than be forced into one or the other by a typing method that I learned in school. I could still do it with the left shift but it's not the one I would choose for this.

It's probably fairly obvious what I think about the taught-at-school touch typing method. It's a decent middle-of-the-road option that's intended to be easy to teach and to work for most people in most situations; that's all.