https://kotlinlang.org logo
#codereview
Title
# codereview
m

marcinmoskala

03/23/2022, 11:43 AM
I am updating Effective Kotlin Item 33: Consider factory functions instead of secondary constructors. I changed that completely, may I ask for a feedback? https://docs.google.com/document/d/1jN6gltGAN6DMr-_sKoRFStVsaymp-V8ajYvDeVztKOo/edit?usp=sharing
👍 1
j

Javier

03/23/2022, 1:04 PM
Personally I use operator fun invoke in companion object, I have read that you don't recommend it but I like them, as you have said, they are fake constructor so I see clearly the intention of them
4 Views