Kotlin won't even compile if you try to use a ternary operator.
![giphy.gif](https://media1.giphy.com/media/8HdYVcdFEYA6Y/giphy.gif?cid=6c09b952je64br1e7c4l9a9v7e9a903uqywvicorm5k3ce2m&ep=v1_internal_gif_by_id&rid=giphy.gif&ct=g)
Kotlin won't even compile if you try to use a ternary operator.
to be fair Kotlin is still the superior language compared to Java, it's much more expressive and doesn't make you write a ton of boilerplate for no good reason
As you guys argue the hateful, garbage that is JS, I have far better uses of my time.
Behold,
Ok, let's go step by step.
Correct, not sure what this has to do with TS and JS but good job
Damn, that didn't last long
Doesn't get more wrong than this, and it's a core part of your argument?
Can you copy/paste Java code into a Kotlin file with 100% interoperability? No. Does Kotlin accept all Java syntax? No. Is the type inference the same? No. Kotlin won't even compile if you try to use a ternary operator.
Conversely, you can copy JS code into a TS file and compile it as normal. All JS syntax works in TS, fully. The type inference is the same. All TS does is complain if your code is too loose, similar to a linter, but there's no behavior in JS that isn't mirrored in TS. Unlike Kotlin and Java
![]()
Comparison to Java | Kotlin
kotlinlang.org
Nope, they're not. Good thing that has nothing to do with TS being JS
I see all those mathematical proof textbooks are doing you goodNow scram and go finish your finals, and this time I better not see no C's on that report card
![]()
to be fair Kotlin is still the superior language compared to Java, it's much more expressive and doesn't make you write a ton of boilerplate for no good reason
No. Kotlin won't even compile if you try to use a ternary operator.
"Details please" after I literally just gave detailsdetails please jabroni.
post the code that java will compile but kotlin wont.
"Details please" after I literally just gave details
Let it go bro. You were wrong, it's over.
You aight breh? I answered your question like 4 comments ago and gave you all the examples you could need, let it go.
this babble mouthed yank will write paragraphs about everything he doesn't know and they mama but is scared to post some code or a simple yes/no answer to a question.
![]()
Please continuelet it go
Came back with a refreshed set of eyes and breezed through that previous humpNo worse feeling than to hit your knowledge ceiling in the middle of solving an interesting programming problem. You be sitting there like "damn, I need to learn all this other stuff just to make 10% progress?"
Man fukk this i'm taking a week long break![]()