Session

Kotlin variance modifiers and Covariant Object Nothing pattern

Variance modifiers are one of those parts of Kotlin that all use (often unconsciously), but only a small portion of developers understand it well. It gives us the convenience of using collection or functional types and lets us implement popular patterns, like Covariant Nothing Object (used by emptyList or many data structures) or Covariant Nothing Class (used by Either and on many implementations of Result). I will deeply explore those concepts and patterns in this presentation, concentrating on practical use cases.

#Advanced #Android

Marcin Moskała

Developer during the day, author at night, trainer at Kt. Academy

Warsaw, Poland

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top