News for hackers. Stuff that matters.
Re:Remove the ++ and –- operators by kuschku on Thursday December 03, 2015 @05:04PM (#10673045)
Well, I type the * key to get a +, then shift and 0 to get a =, then 1 to get a 1.

Slow, and my fingers have to jump completely over the keyboard.

What is far more annoying, and should be banned, are `these` (I have to press shift+' twice to get one `, otherwise I end up with á' instead of `a`), and {}[], as they are on AltGr+7/8/9/0

Re:Remove the ++ and –- operators by Nadya on Thursday December 03, 2015 @05:12PM (#10673105)
Which type of keyboard do you use? I know English-International has a similar issue with `'`, `"`, and `'`. I think QWERTZ or a German keyboard do as well? Can try changing it to English - US to get around that if you run Windows. Not sure about Mac/Linux.

I swapped the US out for international because it was important to me to type Pokémon properly. It is an annoyance to have to type ` followed by a space because it is waiting for a vowel to let me type ù. Same with ' which let's me type ç or " which lets me type ü... etc. I disable it when programming for the reason you cited. It can be annoying to deal with. Especially when my IDE tries to autocomplete " and I typed "" instead of " (followed by a space) and I get """".

Re:Remove the ++ and –- operators by kuschku on Thursday December 03, 2015 @06:04PM (#10673393)
I use a bastardized DE1 layout, as provided by linux.

So I have æ, but not å.

Actually, I’m gonna switch to DE3.

Still doesn’t solve these special characters.

Re:Remove the ++ and –- operators by Nadya on Thursday December 03, 2015 @07:02PM (#10673680)
I guessed the German QWERTZ properly at least...unfortunately I don't know a way of solving that without having an EN keyboard, using a keybind to swap between T1/EN as needed. Though depending how much German shows up in your programming... swapping every few characters probably isn't desirable either. :(
Re:Remove the ++ and –- operators by kuschku on Thursday December 03, 2015 @07:17PM (#10673753)
I write literally no German in code, but sometimes use it online.

And I seriously couldn’t work without the international layout - using proper Unicode characters in my comments is just non-negotiable.

If developers would have thought more about localization, and made less dumb assumptions...

But there are even minecraft mods that don’t work on QWERTZ, because they are hardcoded to keys that are dead keys on DE layout.

Re:Remove the ++ and –- operators by Nadya on Thursday December 03, 2015 @07:24PM (#10673777)
I press alt+shift and can switch between EN-International (which allows easy typing of é, è, ç, etc.) and EN-US (which doesn't easily allow them to be typed).

Therefore in EN I can {code} and then alt+shift and {comment with proper Unicode characters}. My suggestion would be to have a setup of T1/EN. Code in EN and comment in T1.

Sorry if I'm not being clear or if I'm being confusing...

>If developers would have thought more about localization, and made less dumb assumptions...

I18N can be time-consuming. Especially to test on every conceivable keyboard layout. Dumb assumption allows the mod to exist. I'm all in favor of I18N (and help translate things when I can!) but honestly it is a lot more work for what is often very little gains.

Would you rather spend 10 hours adding I18N for 100~ players or spend 10 hours improving the rest of the code base and adding new features for 10,000 players? Most devs choose the latter. Which really sucks if you're in the group of 100~ players.

Re:Remove the ++ and –- operators by kuschku on Thursday December 03, 2015 @08:13PM (#10673987)
Well, I actually modded the mod myself – and just made it use Minecrafts' integrated keybind tool.

And switch EN and T1 is not very useful. I’d have to relearn blind typing completely again.

Re:Remove the ++ and –- operators by y4mi on Friday December 04, 2015 @08:39AM (#10676211)
cant you use `+space to type one? it always worked for me with all keymaps... was awkward the first few times, but by now its become really easy.
Re:Remove the ++ and –- operators by kuschku on Saturday December 05, 2015 @06:43AM (#10681610)
Yes – but that’s still [Shift]+['] and then [Space]