|
|
|
|
|
by akashakya
3269 days ago
|
|
But this will solve the problem only for the languages which are similar to English, because they share the same grammatical structure differing mainly only in the keywords. This is trivial to fix with approach you mentioned, But for the rest of the family of languages this require more change, (Sometimes change in the whole programming model) For example in Kannada language (or any other Dravidian language) sentence formation itself is different. In English you can read 'if' statement as a proper sentence ("If a equals to Zero") but in Kannada conjunction appear at the end, 'if' sentence is more like "a equals to zero 'then'", so these kind of changes requires non-trivial changes to programming languages. As an example I was trying to 'alias' basic functions (if, for, define... etc) to Kannada languages in Lisp (because its easy in lisp!), but these kind changes breaks "S-Expression" format due to change of the position of the function in the list. And typing in these languages in typical US-en keyboard is whole new problem in itself! But I believe that some problems can be expressed better in languages with different structure or at least better to its native speaker. |
|
1. http://lispnyc.org/blog/euske/what-if-lisp-was-invented-by-t...
2. https://news.ycombinator.com/item?id=2213012