marukami / RxKotlin-Android-Samples

Learning RxKotlin for Android by example ( A Kotlin re-write of https://github.com/kaushikgopal/RxJava-Android-Samples )
Apache License 2.0
150 stars 17 forks source link

Property names underscore prefix #3

Open frel opened 6 years ago

frel commented 6 years ago

Why are the private property names prefixed with an underscore? As far as I know that convention is reserved for the case where you have two properties that are conceptually the same, but one is private and another is exposed as part of a public API. https://kotlinlang.org/docs/reference/coding-conventions.html

marukami commented 6 years ago

No idea you would have to ask Kaushik Gopa. When I ported Kaushik RxJava Android Samples to Kotlin and Anko I was still learning. So, I never bothered to change the naming style.