Looking at Kotlin documentation, it says that things like Set or List are interfaces. So why can I call the constructor like "val list = List<Int>(3 , {it})" and have it work, when you can't instantiate interfaces?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/Kotlin

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
  • kotlin

    The Kotlin Programming Language.

    For number 2, check out AbstractList.kt, and go up to it's parent library to find most of what you're looking for. It's probably not as neatly-packed as Java classes are, but nothing's stopping you from looking at Kotlin's internal implementation.

  • KEEP

    Kotlin Evolution and Enhancement Process

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts