Join Slack
Explicit API mode - I was surprised that I need to mark interface methods with explicit visibility a...
# compiler
e
Eugen Martynov
07/14/2025, 1:45 PM
Explicit API mode - I was surprised that I need to mark interface methods with explicit visibility also
👍 2
b
bnorm
07/15/2025, 2:30 PM
It is possible to have
private
functions (as long as they have a body) in an interface as well as
public
. Since there are multiple visibilities possible, it's best to be explicit, no?
e
Eugen Martynov
07/16/2025, 9:16 AM
Yeah, completely forgot about default methods
4
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by