Live data from Hacker News

Show HN: I built an online programming language

codigo.so

11–20 of 26 posts

Re: Show HN: I built an online programming language

#11

Very cool! As a native speaker of Portuguese, I think it would look nicer the verbs were all in the same conjugation, simple present. You have "retornar" (return) which is in infinitive form and "escreva" write which is in the present imperative mode. I would choose to put all the verbs in the simple present: retorna => return faz => do escreve => print I couldn't find the Portuguese version for "break", but in my op…

Thank you! I really appreciate this :)

Re: Show HN: I built an online programming language

#12
post #8

The french pseudo-code reminded me of my freshman year in Computer Science degree, so much nostalgia! Completely forgot about all that since then, but I wonder if using your mother tongue to learn programming is truly effective, especially in non-English speaking countries?

:) Glad to hear this!

In teaching, simplification is really important. Take a look at this [1] simple script in Portuguese and tell me if it seems intuitive to you. This is the situation of most of the people trying to learn to code here in Argentina/Latam using very large and professional programming languages. I hope this can help them.

[1] https://codigo.so/editor.pt/fb3e08c2-e929-4379-81fa-c3126bbd...

Re: Show HN: I built an online programming language

#15
post #13

Off Topic, at the bottom of the page; >Backed by AWS startup programs What does that mean ?

I think it's meaning this https://aws.amazon.com/startups/

I was thinking something similar, because for a moment I thought AWS are starting to fund startups.

Re: Show HN: I built an online programming language

#16

Very cool! As a native speaker of Portuguese, I think it would look nicer the verbs were all in the same conjugation, simple present. You have "retornar" (return) which is in infinitive form and "escreva" write which is in the present imperative mode. I would choose to put all the verbs in the simple present: retorna => return faz => do escreve => print I couldn't find the Portuguese version for "break", but in my op…

Great project. Congratulations.

I am also a pt_BR speaker. To be completely frank, I would say I'm more comfortable programming in English. In the “test” example, for instance, I wouldn't know which alias to use, whether 'verdadeiro' or 'verdade'. But it's pretty cool in English. Kudos

Re: Show HN: I built an online programming language

#17

Very cool! As a native speaker of Portuguese, I think it would look nicer the verbs were all in the same conjugation, simple present. You have "retornar" (return) which is in infinitive form and "escreva" write which is in the present imperative mode. I would choose to put all the verbs in the simple present: retorna => return faz => do escreve => print I couldn't find the Portuguese version for "break", but in my op…

I also think having everything in the formal form makes it a little bit jarring, like the sample code in the main page having the keyword "faca" when "faz" would be much more clearer.

Re: Show HN: I built an online programming language

#18
post #12
post #8

The french pseudo-code reminded me of my freshman year in Computer Science degree, so much nostalgia! Completely forgot about all that since then, but I wonder if using your mother tongue to learn programming is truly effective, especially in non-English speaking countries?

:) Glad to hear this! In teaching, simplification is really important. Take a look at this [1] simple script in Portuguese and tell me if it seems intuitive to you. This is the situation of most of the people trying to learn to code here in Argentina/Latam using very large and professional programming languages. I hope this can help them. [1] https://codigo.so/editor.pt/fb3e08c2-e929-4379-81fa-c3126bbd...

Sorry, I do not speak Portuguese! However, I could easily find-out what the snippet was doing by simple logic.

I have been teaching programming/data for the past 2 years and you're right, simplification is of utmost importance for students. Actually, when teaching programming with Python, I go with them in the process of translating their logic to English first then it's almost a 1-to-1 mapping with the instruction set (for simple algorithms). Same goes for SQL.

Anyhow, nice concept here, curious to see where it goes!

Re: Show HN: I built an online programming language

#20
post #8

The french pseudo-code reminded me of my freshman year in Computer Science degree, so much nostalgia! Completely forgot about all that since then, but I wonder if using your mother tongue to learn programming is truly effective, especially in non-English speaking countries?

Translating programming languages and computer science concepts is IMHO a terrible idea. That creates fragmentation, which makes it very difficult to get access to the broader programming community and provides very little benefits for students understanding. Based on my personal experience, in the French speaking world almost everything is translated, which makes it hard to find online references and creates a lot of friction when you start to be confronted to the English terminology. As an example, "a thread" is a term I can easily search online and that everybody is using, where "un fil d'exécution" is used by absolutely nobody. You basically have to learn everything twice.

Regarding programming languages, one of the first job I had was with WinDev, using the French dialect. It was a horror to deal with it, and makes it especially hard to switch to something else if you get too comfortable with it. Something that people pushing for translation miss is that a programming language isn't an actual language where you have words that you compose. It is a set of operators/keywords to express a logic or to produce an effect. The actual operators/keywords do not matter that much when you're learning: "for", "var", "while", "if" are just keywords that you map in your mind to the actual effect they produce. They could technically be replaced by shapes or emoji without creating too much learning issues (terrible idea, please do not do this). By learning the same English keywords that everybody is using you can at least easily switch between technologies and get access to the wider international community.

Post reply on HN