Also, sometimes, translations have a different (perceived) meaning. A pet peeve of mine is "by default". In Italian it is translated (correctly) "per difetto", and it is "fine" when other people already know the term, but otherways "difetto" is also the translation of "defect", and you will have a tough time explaining to a layman that it is not a "defect" in that other sense. Another "queer" word (I found it in the…
As a native speaker I would never read - in context - "ometti" as little men. IE: "Se ometti un parametro...". Every language is context sensitive. Same for "moda", when I read: "moda, mediana e media..." I would never - ever - think that "moda" is, in the context, "fashion". "resto" - as used in: "Here is your change" - "Ecco il tuo resto" - would never be read as such in context. IE: the nursery song [1] "Quarantaq…
Italian Ruby
81–90 of 178 posts
Re: Italian Ruby
#82Also, sometimes, translations have a different (perceived) meaning. A pet peeve of mine is "by default". In Italian it is translated (correctly) "per difetto", and it is "fine" when other people already know the term, but otherways "difetto" is also the translation of "defect", and you will have a tough time explaining to a layman that it is not a "defect" in that other sense. Another "queer" word (I found it in the…
A fun one is: “throwing an error”, which can be translated in “lanciare (launch) un errore” or “tornare (return) un errore” or “causare (cause) un errore”.
Re: Italian Ruby
#83Also, sometimes, translations have a different (perceived) meaning. A pet peeve of mine is "by default". In Italian it is translated (correctly) "per difetto", and it is "fine" when other people already know the term, but otherways "difetto" is also the translation of "defect", and you will have a tough time explaining to a layman that it is not a "defect" in that other sense. Another "queer" word (I found it in the…
A fun one is: “throwing an error”, which can be translated in “lanciare (launch) un errore” or “tornare (return) un errore” or “causare (cause) un errore”.
Re: Italian Ruby
#84Also, sometimes, translations have a different (perceived) meaning. A pet peeve of mine is "by default". In Italian it is translated (correctly) "per difetto", and it is "fine" when other people already know the term, but otherways "difetto" is also the translation of "defect", and you will have a tough time explaining to a layman that it is not a "defect" in that other sense. Another "queer" word (I found it in the…
Now look at programming in English and it has the same "issues". "bug" means defect when it could also mean a little critter. "super" means the parent class? How do people know you don't mean the superlative? How does "short", "float", "long" describe numbers? You "catch" things? "map" and "dictionary" certainly aren't the things I have on my coffee table by the same name. I've heard of race being a "protected class", but not a "BeanFactory" being one.
It was always arbitrary from the start.
You're making the same mistake that beginners make when they think "ugh, English is so much more precise than this language I'm unfamiliar with!" when they are completely blind to the ambiguities of English that we take for granted.
Re: Italian Ruby
#85Also, sometimes, translations have a different (perceived) meaning. A pet peeve of mine is "by default". In Italian it is translated (correctly) "per difetto", and it is "fine" when other people already know the term, but otherways "difetto" is also the translation of "defect", and you will have a tough time explaining to a layman that it is not a "defect" in that other sense. Another "queer" word (I found it in the…
I am appalled. " "by default". In Italian it is translated (correctly) "per difetto" " Correctly? Not at all! Please don't take as given Google Translate's translations.
https://dizionari.repubblica.it/Inglese-Italiano/D/default.h...
Nowadays it is not used much, but it has been for years in texts related to IT, a reference:
http://vietatoridere.blogspot.com/2012/06/default-significat...
BTW "per difetto" is also used in legal matters to mean "in mancanza"
Re: Italian Ruby
#86Also, sometimes, translations have a different (perceived) meaning. A pet peeve of mine is "by default". In Italian it is translated (correctly) "per difetto", and it is "fine" when other people already know the term, but otherways "difetto" is also the translation of "defect", and you will have a tough time explaining to a layman that it is not a "defect" in that other sense. Another "queer" word (I found it in the…
As a native speaker I would never read - in context - "ometti" as little men. IE: "Se ometti un parametro...". Every language is context sensitive. Same for "moda", when I read: "moda, mediana e media..." I would never - ever - think that "moda" is, in the context, "fashion". "resto" - as used in: "Here is your change" - "Ecco il tuo resto" - would never be read as such in context. IE: the nursery song [1] "Quarantaq…
Maybe it’s fake etymology, but it works
Re: Italian Ruby
#87def square(x: Int): Int = x * x
should get hashed (and if it has dependencies, they should get hashed in there, too), and your programming language should track the unique identity of this function, and keep a list of names separately from the hashes.
This totally solves the localization problem: you can just write localizations in one place, and whenever you need to represent them, use the hash to look up your representation. This lets everyone (compatibly) name their functions/variables whatever they want.
Less intuitively, it also basically removes the need for builds. Every function has a verifiable unique identity, so your compiler can tell with 100% certainty whether or not something needs to be rebuilt. When you modify a function, it changes the hash, so you end up with both the old and the new function. Any code which requires the old function can still access it.
This has been implemented in the Unison programming language (https://unisonweb.org/) which is very much in alpha. I don't know if there are other platforms implementing it.
It is so elegant and freeing. I am really stoked for the future of programming languages, when localization is just a matter of translating some words.
Re: Italian Ruby
#88Only ~5% of Earth speaks English natively. Another 15% speak it as an nth language. I think English based programming is an anomaly that came out of the post-WWII US/UK cultural world order, and from that sustained economic boom came modern computers, languages and the internet to a mass market. 20% of the world speaks Mandarin Chinese (not all as a first language tho). And, about the same % as speak English natively…
Spoken English is not so good due to complex and unintuitive pronunciation, but that's not very relevant nowadays where most media is text (and also, it would be easier to popularize a new pronunciation for English, e.g. pronouncing it as if it were Latin, than a whole new language).
Re: Italian Ruby
#89Related stuff: * Claim that word order in Japanese suits ST-style message-passing OOP better than English: https://thoughtbot.com/blog/learning-japanese-the-rubyist-wa... * APL, a language that uses symbols instead of keywords: https://en.wikipedia.org/wiki/APL_(programming_language) * Non-English-based PLs on Wikipedia: https://en.wikipedia.org/wiki/Non-English-based_programming_... * How does English proficiency co…
Re: Italian Ruby
#90I just got back into ruby after a while and I must say it feels so zen.