3 ms·
My preference on an American keyboard is still curly braces, probably because of my typing style. In order to type { }, I hit the shift key with my right pinki
by mirkules 14y ago
My preference on an American keyboard is still curly braces, probably because of my typing style.
In order to type { }, I hit the shift key with my right pinkie finger, which shifts my entire hand over and allows me to hit the brackets with precision with my middle or ring finger. When I type [ ], I use my middle and ring fingers but without anchoring my hand to the right shift key, and I often hit the wrong character.
This is why I always found it awkward to program in Objective-C due to their extensive use of square brackets, whereas Java or PHP (or other C-like languages) come a lot more naturally (curly braces are more often used than square ones).