• You are not logged in.

Programmers' frequent use of Shift

  • Started by Emph
  • 35 Replies:
  • Reputation: 0
  • Registered: 30-Sep-2009
  • Posts: 1

Hi.  I just learned of the Colemak layout today for the first time.  In the past I spent a couple of years or so (maybe more) using Dvorak exclusively, until I finally realized that it just wasn't suitable for me for a variety of reasons*.  I'm not sure if I'll give Colemak a go or not... ok, I may be unable to stop myself, but that's not the point of this post.

I'm a programmer, and programmers need to use shift a LOT.  On the QWERTY layout, I have a habit at times of keeping my left hand permanently shifted over by one column of keys to the left, so that my left pinky hovers perpetually over the shift key.  Don't miss the fact that this means that instead of having 4 fingers devoted to the symbols on the left side of the keyboard, I'm only using 3.  Also, I'm not sure how other programmers handle the frequent need to change cases, but I rarely use the right shift key at all -- though I use it more so today after my experiences with Dvorak, wherein I "discovered" it (it was pretty much untouched prior to that).  So my question -- and it's really just something I'm curious about -- is:  Was the need of programmers to use Shift frequently taken into account somehow when the Colemak layout was designed?  If so, what impact did that need have on the final version of the layout, or what were the findings produced by that line of inquiry? 

Thanks in advance for indulging my curiosity.

-------------------------------------------------------------------------------------------------------------------------------
*(My reasons for discontinuing use of Dvorak:) While it's true that Dvorak is superior to QWERTY for typing English prose,
-It is not as good if you are a programmer trying to type all of those easy-to-type variable names already adopted by other programmers -- easy to type on QWERTY, that is.
-It can be troublesome if you use any CAD, music composition, drawing, or other program that requires extensive use of keyboard shortcuts.  This is even more true if you A) use a program with hard coded key assignments, and/or B) write software with keyboard mappings that you intend for anyone else to use.

Last edited by Emph (30-Sep-2009 12:02:38)
Offline
  • 0
  • Reputation: 0
  • Registered: 08-Mar-2008
  • Posts: 303

If you use an irregular form of typing (moving your hand to the left), you will not get the full benefit of the Colemak keyboard. It should still be better than QWERTY, though, since even if your hand is shifted over there are still a lot of advantages (and your whole other hand is still normal). The shift key, though, is an interesting dilemma. I do a lot of programming, and I too notice myself holding down the shift key a lot. The main problem there is that the shift key is very hard to move. Where else would you put it? Probably the best solution is to get an ergonomic keyboard like Kinesis. Also, even if shift is used a lot, it's still really not used all that much compared to most letters. So it's hardly worth it to move the shift key for programmers, and definitely not worth it for your average person.

Offline
  • 0
  • Reputation: 0
  • From: London
  • Registered: 29-Sep-2009
  • Posts: 26

If you aren't already using a US layout keyboard you could try one. They have the left shift key practically under the little finger when at the normal home position.
If that still isn't enough, you could use a utility like KeyTweak to remap the 'A' key to become shift, and CapsLock to become 'A'. (And maybe the left shift to become backspace?)

On a ISO (Euro) keyboard you can remap the key next to left shift to also be shift making it a bit more like the US layout.

Offline
  • 0
  • Reputation: 0
  • Registered: 17-Mar-2008
  • Posts: 192

You may find this thread interesting:

https://forum.colemak.com/viewtopic.php?id=524

Offline
  • 0
  • Reputation: 4
  • Registered: 24-Mar-2008
  • Posts: 32

I concur with the idea that the US keyboard is vastly superior.  I can only assume that OP is using an ISO layout if he (she?) has problems with left shift.  I did too when I first started using Colemak.  The lack of Caps Lock is a problem when shift is so far away.  But after replacing my keyborards with US ones, this is no longer an issue.

Offline
  • 0
  • Reputation: 214
  • From: Viken, Norway
  • Registered: 13-Dec-2006
  • Posts: 5,371

I have to disagree. Note how the ISO keyboard's left Shift key is exactly as far from the A key as the right-hand shift is from the O key! I don't hear a torrent of complaints about the stretch to the right-hand Shift so I conclude that it's a matter of habit. [I do however suspect that an awkward angle of the left wrist could be involved - get it straight!]

I never mishit the left Shift myself, and using the Comfort Colemak possibility is a vastly superior solution overall, to borrow a phrase from you.

Last edited by DreymaR (05-Oct-2009 14:48:08)

*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

Offline
  • 0
  • Reputation: 0
  • Registered: 17-Mar-2008
  • Posts: 192

Using Comfort Colemak makes your keyboard symmetrical down the middle. Thus, if you are happy with your right hand shift, you will likely get used to the left shift as well.

Dreymar said:

I never mishit the left Shift myself, and using the Comfort Colemak possibility is a vastly superior solution overall, to borrow a phrase from you.

Sometimes I too wonder what's with all the hyperbole.

Offline
  • 0
  • Reputation: 214
  • From: Viken, Norway
  • Registered: 13-Dec-2006
  • Posts: 5,371

Sometimes...

ShiftHappens.png

Just sayin'.  ;)

*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

Offline
  • 0
  • Reputation: 23
  • From: Belgium
  • Registered: 26-Feb-2008
  • Posts: 482

Haha, good one! :-)

Offline
  • 0
  • Reputation: 214
  • From: Viken, Norway
  • Registered: 13-Dec-2006
  • Posts: 5,371

Ripped the idea from bustedtees, to be honest.  :)

*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

Offline
  • 0
  • Reputation: 0
  • Registered: 03-Jul-2009
  • Posts: 189

As a programmer myself, I advise swapping symbols to have most common ones un-shifted. For instance, you may consider swapping digits and corresponding symbols. Then you could use Shift Lock instead of Caps Lock to type numbers.

I too think that left Shift is a bit awkward. I didn't realize that until I remapped Caps Lock as Shift.

Dvorak typist here.  Please take my comments with a grain of salt.

Offline
  • 0
  • Reputation: 0
  • From: Chicago Area
  • Registered: 04-Nov-2009
  • Posts: 21

Actually for this, I've always longed for a foot switch. I mean, pianos have food pedals for common movements, so why can't we have a foot-switch for shift? That would be awesome.

Offline
  • 0
  • Reputation: 0
  • Registered: 01-May-2009
  • Posts: 68

Data on my own typing shows that any shift usage is quite damaging to speed--in fact, more damaging than typical (let alone fast) patterns involving dead keys.  In other words, having shifted things on dead keys would be better, speedwise.

As a programmer with QWERTY I found myself constantly moving my right hand over to the right, pressing many "rightmost" things with my ring finger instead of pinky.  This hurts my wrist, however.  I believe that DDvorak and Programmer's Dvorak mostly got it right by switching numbers and punctuation--using shift to type numbers.  I have no data on how good or bad AltGr is because I've never used it (but DDvorak's AltGr right handed numbers makes a lot of sense and frees up a lot of keys).

Offline
  • 0
  • Reputation: 23
  • From: Belgium
  • Registered: 26-Feb-2008
  • Posts: 482
klalkity said:

Data on my own typing shows that any shift usage is quite damaging to speed--in fact, more damaging than typical (let alone fast) patterns involving dead keys.  In other words, having shifted things on dead keys would be better, speedwise.

You may want to use "sticky keys" then?  Basically it turns modifier keys into dead keys, so eg. Shift+A becomes Shift, A (sequentially).

Offline
  • 0
  • Reputation: 0
  • Registered: 01-May-2009
  • Posts: 68

I think that would not improve things (much) because the shift key does not press the same as normal keys.  It's kind of squishy.

Offline
  • 0
  • Reputation: 0
  • Registered: 17-Mar-2008
  • Posts: 192

I think that would not improve things (much) because the shift key does not press the same as normal keys.  It's kind of squishy.

That would depend on whether you have a keyboard with a squishy shift key.

Offline
  • 0
  • Reputation: 0
  • Registered: 01-May-2009
  • Posts: 68
tomlu said:

I think that would not improve things (much) because the shift key does not press the same as normal keys.  It's kind of squishy.

That would depend on whether you have a keyboard with a squishy shift key.

Maybe it's just my luck but the last 30 or so keyboards I've touched, if not all of them, not counting every single one I've seen in a store, all had squishy shift keys, so how rare is this magical "good shift" keyboard?  Does it cost extra?

We're talking about layouts that make existing hardware optimally used, which IMO means working around squishy shift keys, not looking for hardware solutions.

Offline
  • 0
  • Reputation: 0
  • Registered: 03-Jul-2009
  • Posts: 189
tomlu said:

I think that would not improve things (much) because the shift key does not press the same as normal keys.  It's kind of squishy.

That would depend on whether you have a keyboard with a squishy shift key.

Indeed, using a good keyboard is not stressed enough when it comes to keyboard layouts. As standard keyboards go, I think that everyone concerned about typing effectiveness should own and use (at least) a IBM Model M (you can have one for a few bucks).

Dvorak typist here.  Please take my comments with a grain of salt.

Offline
  • 0
  • Reputation: 0
  • From: London
  • Registered: 29-Sep-2009
  • Posts: 26
klalkity said:

Maybe it's just my luck but the last 30 or so keyboards I've touched, if not all of them, not counting every single one I've seen in a store, all had squishy shift keys, so how rare is this magical "good shift" keyboard?  Does it cost extra?

Shift keys are normally the same as others except:
»You press them with your weak little finger;
»You hold them down while other keys are pressed rather than 'hit' them;
»They are wide keys, and may have stabiliser bars. Poor lubrication or hitting them off-centre can affect the feel.
So any cheapness can show up here.

Quality keyboards do not have mushy shift keys. But most computer shops do not sell quality keyboards. Why should they? Customers have become "dome-esticated" - so used to using crappy rubber-dome/membrane keyboards that they don't even know that there are better alternatives out there.

You might improve matters by removing the shift keys and cleaning the parts then applying white lithium grease.
You could even try replacing the wide shift keycap with a standard size one?

Offline
  • 0
  • Reputation: 0
  • From: Chicago Area
  • Registered: 04-Nov-2009
  • Posts: 21
spremino said:

Indeed, using a good keyboard is not stressed enough when it comes to keyboard layouts. As standard keyboards go, I think that everyone concerned about typing effectiveness should own and use (at least) a IBM Model M (you can have one for a few bucks).

Or, if you want a brand new Model M, Unicomp owns the patents for the keyboards and are currently producing them, along with USB connectors. These would be essentially perfect if they had slightly less tense springs.

I've actually been using a Unicomp for the past couple years, and on a whim, tested out the Logitech Illuminated. This is my new favorite, basically mirroring this review. The keys aren't quite as "clicky" but are not nearly as mushy as the other thirty keyboards I tested at Frys. Shift keys are also pretty snappy. Now, endurance may be an entirely different matter, but if so, I have my Unicomp stashed away for emergencies.

Offline
  • 0
  • Reputation: 0
  • Registered: 17-Mar-2008
  • Posts: 192

I use the TypeMatrix and Kinesis keyboards, neither of which have squishy shift keys. I would imagine that any other quality keyboard without dome membranes would have similar characteristics.

If you use dome keyboards you can suffer a bit because the shift key is wider than normal keys.

Offline
  • 0
  • Reputation: 0
  • Registered: 01-May-2009
  • Posts: 68

Was Colemak designed with any of these premium keyboards in mind?  Because most of them are apparently quite different from every keyboard I've touched since the turn of the century.

Offline
  • 0
  • Reputation: 0
  • Registered: 17-Mar-2008
  • Posts: 192

I'm going to go out on a limb and say that Colemak wasn't designed specifically for high-quality keyboards. Your shift usage is hardly different between Colemak and QWERTY.

Offline
  • 0
  • Reputation: 0
  • Registered: 03-Jul-2009
  • Posts: 189
trifthen said:

Or, if you want a brand new Model M, Unicomp owns the patents for the keyboards and are currently producing them, along with USB connectors. These would be essentially perfect if they had slightly less tense springs.

Indeed. I suggested a used Model M just because it's a cheap way to try an high quality mechanical keyboard, and it's available everywhere (shipping an Unicomp from USA is not cheap). For people that can do without a Windows key, a Model M will suffice (a cheap USB adapter can be employed for new PCs).

trifthen said:

I've actually been using a Unicomp for the past couple years, and on a whim, tested out the Logitech Illuminated. This is my new favorite, basically mirroring this review. The keys aren't quite as "clicky" but are not nearly as mushy as the other thirty keyboards I tested at Frys. Shift keys are also pretty snappy. Now, endurance may be an entirely different matter, but if so, I have my Unicomp stashed away for emergencies.

Indeed, durability is the weak spot of membrane keyboards. What's worse is that they slowly lose performance whilst mechanical keyboards work mostly the same until they break (very far into the future).

As another option for mechanical keyboards, have a look at Filco Majestouch (with Cherry switches), or at Cherry keyboards for the folks living in Europe (ask the experts, you must get a Cherry blue (clicky) or brown (non clicky) based one).

Mechanical keyboards are expensive, but once you'll have tried a mechanical keyboard, you'll not stand membrane keyboards anymore. Moreover, mechanical keyboards are known to last decades.

Here you can talk with the keyboard experts: www.geekhack.org

EDIT: For those interested, Unicomp's Model M replica is the Customizer. As for other models, look for the "buckling spring" based ones.

Last edited by spremino (12-Nov-2009 12:29:49)

Dvorak typist here.  Please take my comments with a grain of salt.

Offline
  • 0
  • Reputation: 0
  • From: Chicago Area
  • Registered: 04-Nov-2009
  • Posts: 21
spremino said:

Indeed, durability is the weak spot of membrane keyboards. What's worse is that they slowly lose performance whilst mechanical keyboards work mostly the same until they break (very far into the future).

Which is why I'm liking the keyboard but being notably guarded about its future performance. It uses scissor switches just like most laptop keyboards, so it might actually last quite a while. Not as long, of course, as some of the Model M's which are past the two-decade mark, but I'm willing to risk it. :p I'm still surprised I like it more than my Unicomp, and due to the decreased key travel, I actually type 5-10wpm faster. That's just nutty.

Offline
  • 0