Paul Woitaschek
03/11/2021, 1:32 PMJavier
03/11/2021, 1:36 PMpablisco
03/11/2021, 2:54 PMPaul Woitaschek
03/11/2021, 2:57 PMpublic interface MyInterface{
internal fun hello()
}
pablisco
03/11/2021, 3:00 PMelizarov
03/11/2021, 3:41 PMYoussef Shoaib [MOD]
03/11/2021, 3:59 PMchristophsturm
03/11/2021, 4:01 PMelizarov
03/11/2021, 4:02 PMelizarov
03/11/2021, 4:03 PMPaul Woitaschek
03/11/2021, 4:03 PMPaul Woitaschek
03/11/2021, 4:04 PMelizarov
03/11/2021, 4:04 PMfun foo()
somewhere, it is not immediately clear whether it is public or not, since it will be preceded by pages and pages of textelizarov
03/11/2021, 4:05 PMpublic
does not add much verbosityPaul Woitaschek
03/11/2021, 4:06 PMPaul Woitaschek
03/11/2021, 4:06 PMpablisco
03/11/2021, 4:07 PMPaul Woitaschek
03/11/2021, 4:07 PMelizarov
03/11/2021, 4:07 PMelizarov
03/11/2021, 4:07 PMelizarov
03/11/2021, 4:08 PMpablisco
03/11/2021, 4:09 PMPaul Woitaschek
03/11/2021, 4:10 PMelizarov
03/11/2021, 4:15 PMPaul Woitaschek
03/11/2021, 4:15 PMelizarov
03/11/2021, 4:16 PMedrd
03/11/2021, 5:01 PMI didn't tried, but maybe you can have private functions with a default implementation. And a public one with a default implementation which use the private one.This is possible, so this:
Here we need a public on every function of an interface where only public is allowed in the first placeis not correct.