News for hackers. Stuff that matters.
Re:Non-English-based programming languages by lcedp on Monday September 02, 2013 @03:32PM (#6316701)
I think it's an awful idea. Let's take Cyrillic languages, Ukrainian/Russian as an example.

* Alphabet has 33+ letters, so there is no space left for programmer's favorite symbols on layout: @#$^&{}[]|~`<>. Yep.

* In Math variables' names traditionally are Latin/Greek letters, Cyrillic is used only when teaching kids. Again: switching layout all the time? No, thanks.

* Words are simply much longer. And I mean much. In English even short words tend to become shorter (variable -> var). In Russian there is simply no such pattern exists. `var-set` -> `установить-переменную`. `var-get` - `получить-переменную`.

* Words are stable in English morphologically. e.g. `last-msg-delivered` - `last-msgS-delivered` -> `последнЕЕ-сообщениЕ-доставленО` - `последнИЕ-сообщениЯ-доставленЫ` - if you change gender or from singular to plural etc you should change few words in a row.

Seriously, it seems to me like trying to make things more complicated.

Re:Non-English-based programming languages by Avshalom on Monday September 02, 2013 @03:45PM (#6316781)
I have 104 keys on my keyboard and 4 of them are modifiers. The English alphabet isn't the Latin/Greek alphabet either. And I am absolutely astounded that Russians apparently have never invented the concept of an abbreviation or contraction.

One does wonder how soviets ever managed to program their computers.

Re:Non-English-based programming languages by archivator on Monday September 02, 2013 @04:13PM (#6316917)
As an aside, if you (the reader, not Avshalom) haven't read much Russian literature, Russian is the language where you take the first syllable of every word in a long phrase and you make a new word:

Министерство здравоохранения => Минздрав (Ministry of Health => Minheal)

Министерство юстиции => Минюст (Ministry of Justice => Minjust)

etc, etc. As a foreigner, I found that quite peculiar though it doesn't seem to be as common now as it was before but it's still noticeable in everyday life.

Re:Non-English-based programming languages by mistercow on Monday September 02, 2013 @06:16PM (#6317489)
Ah, so that's where that came from in 1984. It all makes sense.
Re:Non-English-based programming languages by lcedp on Monday September 02, 2013 @07:36PM (#6317818)
Yes, it is indeed inspired by that.
Re:Non-English-based programming languages by vorg on Monday September 02, 2013 @08:19PM (#6317976)
...and nowadays in the US: HomeSec
Re:Non-English-based programming languages by lcedp on Monday September 02, 2013 @04:20PM (#6316966)
Don't worry it seems peculiar even for native like me :-) It's a bit less common now as it feels like Soviet era attribute (think Orwell's новояз (newspeak))
Re:Non-English-based programming languages by lcedp on Monday September 02, 2013 @04:05PM (#6316872)
> I have 104 keys on my keyboard and 4 of them are modifiers.

Yep, that's one way. But it make things harder. If you set up Alt to use as English layout modifier to type {} you need to press two modifiers now: Alt + Shift. However I agree it's not the main issue.

> The English alphabet isn't the Latin/Greek alphabet either.

At least it's Latin.

> And I am absolutely astounded that Russians apparently have never invented the concept of an abbreviation or contraction.

Of course such things do exist.. they just don't work very well. English's short words is a relatively distinctive feature which it has developed being a mix of Latin/French/Germanic. For Russian words usually are complex. Var - переменная - prefix пере- + root мен. Yes, you can contract it to `перем.` But it also sounds like contraction of `перемещенная` which is `moved` or `перемещать` which is `move` or `переменный’ which is `variable(meaning: alternating)` and so forth.

Re:Non-English-based programming languages by fosap on Monday September 02, 2013 @03:56PM (#6316827)
Sorry, but the thing about the layout is BS. I code with a german layout. You have the use the Alt-Gr modifier a lot, but in the end it's not harder to use than a shift key.
Re:Non-English-based programming languages by lcedp on Monday September 02, 2013 @04:12PM (#6316913)
You may call my opinion BS but it is harder due to the fact that additional letters take space off the symbols. Examples (assuming you use AltGr)

    Symbol; English; Russian
    , ; , ; Shift + .
    [ ; [ ; AltGr + х
    { ; Shift + [ ; AltGr + Shift + х
See pattern? Though I agree with you - it's not a dealbreaker.
Re:Non-English-based programming languages by fosap on Monday September 02, 2013 @04:19PM (#6316960)
Ok, two modifiers are proably more annoying. Is the Alt-Gr plane not big enough? I have serveral Symbols there that i never ever need, like ðæł¶ŧ←↓→øħħ̣ĸ . Are there essential Cyrillic characters?
Re:Non-English-based programming languages by lcedp on Monday September 02, 2013 @04:30PM (#6317024)
No, altgr basically is not used while I still use it to have Russian over Ukrainian which has just few different letters іы їъ єэ ґ:-D

I could set up a lot of symbols though altgt but they won't mostly much English layout. But I don't need to because languages I program in are English based.

If I knew German, I would use exclusively German layout as apparently you do. But I need actually 4: En, Eo(that not much but still), Uk, Ru - those two every day. So I contracted it to 2: Latin/Cyrillic. :)

Re:Non-English-based programming languages by Grue3 on Tuesday September 03, 2013 @06:12AM (#6320034)
There's a world of difference between German layout (with only a few extra letters) and Cyrillic layout (which completely replaces Latin letters).
Re:Non-English-based programming languages by elementai on Monday September 02, 2013 @05:30PM (#6317294)
And yet there's a https://en.wikipedia.org/wiki/1C:Enterprise being a leading software suite in Russia. It's source code terrifies me every time.
Re:Non-English-based programming languages by lcedp on Monday September 02, 2013 @07:34PM (#6317811)
Indeed. The one thing worse then programming with Excel formulas.