I’m wondering why the tradeoff regarding additional required space is no longer a relevant consideration with enums?

Yes, we used to talk about avoiding enums… but that was many years and an entire runtime ago — enums are fine

I recall you providing this explanation in a keynote within the last few years.

--

--

Open Sourcer

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam Hurwitz

Adam Hurwitz

Open Sourcer

More from Medium

BookLogApplication: Connecting the dots with more logic

Room Migrations — “Testing”

TDD — Part III, Hilt and Robolectric (Android)

Barista UI Testing(on top of Espresso)