Hacker News new | ask | show | jobs
by Darmani 6643 days ago
Actually, I'd compare that to saying that two languages are the exact same except for some of the words -- that JavaScript is exactly like Java except System.out.print is renamed to document.write. Saying that learning a new language is just the syntax is more like saying that translation between English and German can be done with just a German-English dictionary and a full knowledge of the grammar.

However, just as lambdas cannot be directly translated into languages without lambdas, some languages have unique concepts. For example, the German language has a part of speech called the particle that conveys a general feeling into sentences. While the statement "Er wisst das." could be easily translated with a dictionary and knowledge of conjugation rules into "He knows that," adding a particle to make "Er wisst ja das" could be variously translated as "Of course he knows that," "He obviously knows that," "He most definitely knows that," etc.

1 comments