Live data from Hacker News

Citrine: Localized Programming Language

citrine-lang.org

1–10 of 72 posts

Re: Citrine: Localized Programming Language

#3
This is cool! Has anyone here taken a computer science course in another language?

I have wondered if non-English-speaking universities have to teach their CS courses in 25-50% English, just due to the syntax of the programming languages generally being in English

Re: Citrine: Localized Programming Language

#4
I've said too much about this subject in the past [1], but my litmus test for "localized" programming languages is a Korean support (both because I speak it natively and because it is very much different from most Indo-European languages). It spectacularly fails. At the very least it is evident that Citrine only ever cares about languages with prepositions (e.g. `x on: 'greet:' do: { ... }`).

[1] https://news.ycombinator.com/item?id=21352775

Re: Citrine: Localized Programming Language

#5
post #3

This is cool! Has anyone here taken a computer science course in another language? I have wondered if non-English-speaking universities have to teach their CS courses in 25-50% English, just due to the syntax of the programming languages generally being in English

I took a CS course in Polish and had no problem at all with programming languages syntax in English.

Re: Citrine: Localized Programming Language

#7
post #3

This is cool! Has anyone here taken a computer science course in another language? I have wondered if non-English-speaking universities have to teach their CS courses in 25-50% English, just due to the syntax of the programming languages generally being in English

I have! I actually really enjoy taking computer classes to learn computer languages that I already know in languages that I am studying, e.g. I took a Java class "Initiation à la programmation (en Java)" at the École Polytechnique Fédérale de Lausanne on Coursera. It is a great way to learn new words and build up your vocabulary. I am looking for more German courses now.

Re: Citrine: Localized Programming Language

#8

I've said too much about this subject in the past [1], but my litmus test for "localized" programming languages is a Korean support (both because I speak it natively and because it is very much different from most Indo-European languages). It spectacularly fails. At the very least it is evident that Citrine only ever cares about languages with prepositions (e.g. `x on: 'greet:' do: { ... }`). [1] https://news.ycombin…

There's little reason, I suppose, why internationalizing the code of a software program is any less challenging than internationalizing an application.

That is to say: language keywords, function and variable names, comments, documentation, and perhaps even multi-token structures might all require associated translation strings.

And as with translating an application (or any text, really), the source material might be written in one native language, and only later be translated into others based on demand and interest.

Software projects have the interesting property that partial translations might make sense under some circumstances. A commonly-used API function could be translated first, for example.

It'd be impressive to work on a project where multiple developers are each individually contributing to literally the same codebase, but each reading and writing it in their own native language(s).

(clearly a situation like that would require a lot of input from translators too - ideally with context for the software language and the project itself)

Re: Citrine: Localized Programming Language

#9

> designed to allow every man to write code in his mother tongue. Hopefully, by doing so, Citrine will make coding accessible to a wider audience. One day that audience might extend to women.

My thoughts exactly! but it looks like op is Dutch in which language google translation tells me "mens" can mean "person", so hopefully it is just an esl thing
Post reply on HN