Live data from Hacker News

Show HN: Spanish Basic

vainilla.app

11–20 of 51 posts

Re: Show HN: Spanish Basic

#11
post #5

As far as I remember, in Algol 68 the physical representation of the program was separated from the syntax. So, in theory one should have been able to write hacer ... recah

In memory BBC BASIC was tokenised so for instance PRINT was stored as just the byte 0xF1, so you could write a program lister that used other language's words (I remember at least one of those existing) and it would be similarly easy to go the other way too.

Re: Show HN: Spanish Basic

#12
of this is cool a language specifically to help new programmers to learn programming when their primary language is spanish?

honestly this would a be godsend for my girlfriend. Most algol programming languages are super focused on english keywords that are very intuitive for a natibe speaker but nto so much for a Spanish speaker.

case in piint. "if" in spanish is "si", but "si" is also spanish for "yes"

as you can imagine, trying to explain with teh language barrier can get difficult

Re: Show HN: Spanish Basic

#13

As a spaniard, please don't. I'm fine with programming in english, this only complicate things for everyone involved. Imagine if every popular language out there had their own adaptations or even their own programming languages. Also, you must know english for coding. There is no way you can be a good developer without a good english knowledge - docs, specs, protocols, guides, tools, books, remote jobs with internati…

[deleted]

Re: Show HN: Spanish Basic

#14
Hey there. I agree with some of the comments out there - a new language in Spanish does not make much sense in the pragmatic way: understanding English is a requirement for every coder out there.

However, most of the technical projects out there do not have to be usable by everyone or have an interesting goal. So kudos for creating a language from zero (I saw the code on Github and I am sure you learnt a lot doing this). Some people may think this is just "translating back to English and running Python", but you are the doing the whole parsing, so I think it is awesome.

Try to avoid the negativity that you may find in HN and be happy with this!

Abrazo che!

Re: Show HN: Spanish Basic

#15
post #9

Supongo eres hablante nativo, pero la sintaxis es horrible: "Para i=1 hasta 7 hacer" no hace ningún sentido. En todo caso sería " Para i en (1..7)" o "Desde i=1 hasta 7" o "Para i=1 mientras i In any case, all these copy-paste-just-literally-translate-the-keywords languages offer nothing new.

> "Para i=1 hasta 7 hacer" It's the standard spanish pseudocode

There is no such thing, as there is no "standard English pseudocode". What usually happens is that they use terrible translators for technical books, and we end up with monstrosities like this one. Why bothering to "create" a programming language in Spanish if it is going to be a literal word by word translation from English, a language with different syntax, semantics and pragmatics?

Re: Show HN: Spanish Basic

#16

As a spaniard, please don't. I'm fine with programming in english, this only complicate things for everyone involved. Imagine if every popular language out there had their own adaptations or even their own programming languages. Also, you must know english for coding. There is no way you can be a good developer without a good english knowledge - docs, specs, protocols, guides, tools, books, remote jobs with internati…

Here's a really interesting talk (in Spanish) about programming in one's (natural) language: https://www.youtube.com/watch?v=cZ2ZGNUqWXg

Re: Show HN: Spanish Basic

#17

Supongo eres hablante nativo, pero la sintaxis es horrible: "Para i=1 hasta 7 hacer" no hace ningún sentido. En todo caso sería " Para i en (1..7)" o "Desde i=1 hasta 7" o "Para i=1 mientras i In any case, all these copy-paste-just-literally-translate-the-keywords languages offer nothing new.

Or a Fortran-like one: hacer i = 1 hasta 7

The problem with for/para statements is that the each/cada that follows is being omitted. My hacer one hides prepositions as well (para or con are suitable candidates), but I’m not sure how would I tweak a for statement in Spanish without increasing verbosity.

Re: Show HN: Spanish Basic

#18
post #14

Hey there. I agree with some of the comments out there - a new language in Spanish does not make much sense in the pragmatic way: understanding English is a requirement for every coder out there. However, most of the technical projects out there do not have to be usable by everyone or have an interesting goal. So kudos for creating a language from zero (I saw the code on Github and I am sure you learnt a lot doing th…

[deleted]

Re: Show HN: Spanish Basic

#19

of this is cool a language specifically to help new programmers to learn programming when their primary language is spanish? honestly this would a be godsend for my girlfriend. Most algol programming languages are super focused on english keywords that are very intuitive for a natibe speaker but nto so much for a Spanish speaker. case in piint. "if" in spanish is "si", but "si" is also spanish for "yes" as you can im…

Spanish for "yes" is "sí", not "si".

Re: Show HN: Spanish Basic

#20

Supongo eres hablante nativo, pero la sintaxis es horrible: "Para i=1 hasta 7 hacer" no hace ningún sentido. En todo caso sería " Para i en (1..7)" o "Desde i=1 hasta 7" o "Para i=1 mientras i In any case, all these copy-paste-just-literally-translate-the-keywords languages offer nothing new.

"no hace ningún sentido" makes no sense in Spanish either :)
Post reply on HN