DEV Community

Discussion on: What does Javascript better than Kotlin?

Collapse
 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard • Edited

My point is that when they designed kotlin, jetbrains has been unafraid to take inspiration and copy what works well in other languages. What helped is that they have in house specialists from every language out there. By following their example I can maybe discover useful design patterns

Collapse
 
adam_cyclones profile image
Adam Crockett πŸŒ€ • Edited

Since the dawn of programming language design people have been borrowing features and applying them to the new language through grammer. I am writing Jess which is based on JavaScript and css syntax, that is because there is a problem here I am trying to solve, inherently I need feature from both languages so that I can have js and css as compile targets. It's the same story for Kotlin, if you could only write a portion of a compile target, say half of JavaScript, you would have an inferior compiler. So IMHO it's nothing to do with design, it's just a problem to solve.