Live data from Hacker News

Show HN: Han – A Korean programming language written in Rust

github.com

121–130 of 131 posts

Re: Show HN: Han – A Korean programming language written in Rust

#124

When I was studying Computer Science in college, I once remarked how lucky we, English speakers, are that programming languages use English nouns and verbs. A ton of my classmates were here on a student visa, and English was not their first language. I always thought that programming in English put me at an advantage on the learning curve. I also always thought it was silly when someone would quip that programming sh…

True. English is a major reason why India is the IT back-office for most of the western world. I too have personally observed how my fellow classmates, who had done their schooling in their regional language, struggled with the coursework in college because it was solely in English. And some of them were state rankers - it felt bad to realise that they had to put in twice the effort needed to keep up their grades. I…

[deleted]

Re: Show HN: Han – A Korean programming language written in Rust

#125
As a native Korean speaker who learned programming in English the code looks very easy to read.

The downside is understanding logic feels harder because - the order of Korean is diff from English - e.g. "동안" (while) hard to reason about as "동안" comes after the condition in Korean linguistics and comes before in English.

So my only suggestion is to go diff direction from normal writing flow as shown below for readability

- from: 동안 n < 5 - to : n < 5 동안

Re: Show HN: Han – A Korean programming language written in Rust

#126
This makes a lot of sense from a teaching perspective. If you're introducing programming to Korean-speaking kids, having keywords in their own language removes one abstraction layer. They can focus on the logic without also needing to memorize what 'while' or 'return' means in English first.

Re: Show HN: Han – A Korean programming language written in Rust

#129
post #61

I wonder why there are not more programming languages not only with non-English keywords, but with different grammars. For example, if X then Y and many other constructions closely follow English grammar, but when you study other languages you quickly become away of many other possible constructions.

I don't think programming languages follow English grammar or syntax closely. If X then Y , sure. While X, do Y ? Maybe. For X equals Y, X equals Z, X is incremented, do A ? Hardly. Match X case Y1 Z1 case Y2 Z2 ? Definitely not Native English speakers have a small leg up understanding the vocabulary, not the syntax.

That's why I wrote 'many other constructions' not 'many languages'.
Post reply on HN