loading...

re: What does Javascript better than Kotlin? VIEW POST

FULL DISCUSSION
 

Kotlin is for the Jvm ecosystem as far as I can tell, it's not an out and out superset of JavaScript nor is it trying to be. It just happens to have multiple compile targets, one just happens to be JavaScript, but Kotlin is not JavaScript and not really related.

As for features, you will find many aforementioned in multiple other languages.

 

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

 

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.

 

i'm using javascript daily, and agree with you not related topic parts, every language has it's own env, community, advantages and disadvantage, don't forget Kotlin came as alternative for java, so in ancient times we agreed no relation between java and javascript. if there javascript will lose as a programming language.

 

I'm not confusing anything.
When I look at Ruby on rails code, it gives me ideas that I can take with me in other languages that are not "related to Ruby".
I don't see it as a good thing that developers don't look at what other communities are doing.
I edited the first sentence of my post.

I think your post is valid and certainly something I asked myself a few months back. I love the look of Kotlin and I use typescript as much as not.

Another language which you might find interesting is Lua, it has a fascinating community, syntax and backstory.

code of conduct - report abuse