4

Holy shit, Kotlin does not have package-private?! I thought Kotlin was just a bad mix of JS syntax and Java... but not supporting an essential feature of the VM is on a whole another level of bad.

Comments
  • 1
    As I'm writing in Python, where such feature isn't supported either: Why is this essential?
  • 2
    Kotlin is made so that absolute mental retards can use the jvm
  • 1
    Package private visibility was always a bit hacky even in Java tbh - especially since packages aren't hierarchical (an inherent Java design flaw IMHO.)

    The modern, "nicer" way to do this would be for Kotlin to support the Java 9 module system, but that opens up a whole other can of worms...
  • 0
    Wait, aren't they package-private by default?
Add Comment