4 ms·
kotlin does not reimplement java API. Instead it have it's own "wrappers" for collections and primitive types. This wrappers are just platform specific types th
by ex3ndr 9y ago
kotlin does not reimplement java API. Instead it have it's own "wrappers" for collections and primitive types. This wrappers are just platform specific types that is replaced directly to native ArrayList and others by compiler. This is more like just using Java API instead of reimplementing it. If Oracle will sue someone for using their API to build Java apps - it will be the end for everything.
- sjrd 9y agoTrue, and Scala is exactly the same. It uses Java APIs.
- vorg 9y agoApache Groovy is also the same.
- happyhippo333 9y agoWhy is that in every discussion about Scala some Groovy fanboy pops out? sometimes with a ridiculous claim like "groovy is more popular", or "groovy has better java interoperability"
- dang 9y agoThis account's comments have already been violating the HN guidelines. We ban accounts that do that. Please read the following and post civilly and substantively, or not at all. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newswelcome.html https://news.ycombinator.com/newswelcome.html