Nima
09/25/2020, 3:35 AMgildor
09/25/2020, 4:15 AM!!
is that it’s often actually not needed and it’s just bad understanding of the language
Almost in all cases it can be avoidedgildor
09/25/2020, 4:17 AM?
But problem with !! in this case is very bad error message, so I prefer do something like:
someLifecycleDependantProperty ?: error(“Wrong state $currentState. blha blah”)gildor
09/25/2020, 4:17 AMNima
09/25/2020, 4:25 AMgildor
09/25/2020, 4:33 AMgildor
09/25/2020, 4:33 AMNima
09/25/2020, 4:40 AMgildor
09/25/2020, 5:16 AM!!
rkeazor
09/25/2020, 7:23 AMtseisel
09/25/2020, 7:45 AM!!
: https://twitter.com/kotlin/status/1309153139753390083Nima
09/25/2020, 2:17 PMkristianconk
09/25/2020, 6:54 PM!!
should be rejected.
In your case, I suggest to convence the leader to implement this policiesitnoles
09/26/2020, 2:08 AMrkeazor
09/26/2020, 3:03 AM