PLAY PODCASTS
092: Learning Kotlin - dealing with static-ness and (companion) objects costs
Episode 92

092: Learning Kotlin - dealing with static-ness and (companion) objects costs

In this second episode of our learning Kotlin series, we talk about Kotlin’s support for static members or … lack thereof. Kotlin as a language was designed so that there’s no such thing as a “static member” in a class but there are times when having static members can be useful. So what do we do in those cases? do we just avoid static members? are there better alternatives? what are the costs with some of these approaches? Listen on to find out more! Shownotes: http://fragmentedpodcast.com/episodes/92

Fragmented - AI Developer Podcast · Spec

August 7, 201735m 11s

Audio is streamed directly from the publisher (cdn.simplecast.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

In this second episode of our learning Kotlin series, we talk about Kotlin’s support for static members or … lack thereof. Kotlin as a language was designed so that there’s no such thing as a “static member” in a class but there are times when having static members can be useful.

So what do we do in those cases? do we just avoid static members? are there better alternatives? what are the costs with some of these approaches?

Listen on to find out more!

Show Notes

Static alternatives

Cost of approaches

Look at the fragmentedpodcast.com for some code snippets

Misc:

Sponsors

Contact