https://kotlinlang.org logo
#announcements
Title
# announcements
d

Dmitry Kandalov

07/25/2019, 2:33 PM
Why functions in kotlin stdlib are explicitly
public
?
a

Alexander Levin

07/25/2019, 2:54 PM
I guess it's related to coding conventions for libraries:
Always explicitly specify member visibility (to avoid accidentally exposing declarations as public API)
https://kotlinlang.org/docs/reference/coding-conventions.html#coding-conventions-for-libraries
👍 1
j

jw

07/25/2019, 4:09 PM
It was rumored there would eventually be a compiler mode to enforce this, but no sign of it yet. I very much am against public-by-default so I really want it.
d

Dmitry Kandalov

07/26/2019, 8:15 AM
I was wondering if there were plans to make
public
mean something like “published”.
5 Views