News for hackers. Stuff that matters.
Re:GitHub is planning Voice to Code by Toutouxc on Thursday November 10, 2022 @04:33AM (#33544168)
I use a Czech keyboard layout on my Mac, because Czech has some letters that don't exist on a US keyboard, and I don't like switching between layouts. So basically all "programming" characters (braces, brackets, parentheses, apostrophes, quotation marks, pipes, colons) are behind modifiers.

I would totally enjoy being able to tell my IDE to "call foo with bar and string hello there end string with a block of gee times two" or something, instead of:

  foo(:bar, "Hello there") { |gee| gee * 2 }
Just that, not having to think about typing different symbols would be a serious quality of life feature for me.
Re:GitHub is planning Voice to Code by _wolfie_ on Thursday November 10, 2022 @04:41AM (#33544238)
My solution is just not to use czech characters, seems to work well so far :D
Re:GitHub is planning Voice to Code by xeeeeeeeeeeenu on Thursday November 10, 2022 @04:47AM (#33544292)
>So basically all "programming" characters (braces, brackets, parentheses, apostrophes, quotation marks, pipes, colons) are behind modifiers.

Poland ditched a similar QWERTZ-based layout in favour of this: https://pl.wikipedia.org/wiki/Plik:Polish_programmer%27s_lay...

It's basically the standard US layout but the right alt (AltGr) is a modifier. So, for example, AltGr+A gives "ą".

I don't see why something similar can't be done for the Czech alphabet.

Re:GitHub is planning Voice to Code by Toutouxc on Thursday November 10, 2022 @05:41AM (#33544678)
> I don't see why something similar can't be done for the Czech alphabet.

It probably could — we already can't fit all the letters with diacritics on the number row, so "ď, ť, ň, ó" are key combos. But as far as I know, Czech uses diacritics a bit more than Polish (e.g. for sounds that are digraphs in Polish), consider:

"Že se nestydÍŠ, nutit lidi psÁt ČeskÉ speciÁlnÍ znaky pomocÍ dvojhmatŮ!" — that's 10 modifiers just for the diacritics.

Having ALL diacritics as modifier combos would make typing actual texts even more annoying than programming is now.

Re:GitHub is planning Voice to Code by xigoi on Thursday November 10, 2022 @11:32AM (#33548980)
Have you tried the UCW layout? English-like keyboard, but with a bonus modifier key that produces Czech (and other) letters. I use it and it's so much better than the traditional Czech layout.