dinfuehr / dora

Dora VM
MIT License
490 stars 31 forks source link

Discuss making @pub default #262

Closed soc closed 2 years ago

soc commented 3 years ago

Extracted from https://github.com/dinfuehr/dora/issues/49#issuecomment-907657650.

While it's good to be cautious about visibility and make sure things cannot be accessed unintentionally, in my experience the extra ceremony does not deliver enough benefits in this case.

Looking at other languages, Scala (pub default) vs. Kotlin (pub not default) give a direct comparison, and the non-superiority of the latter.