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

Create Android UI Library using Storybook

Working with Multipart Form Data using Retrofit for Android

Improve scrolling performance of a ViewPager with complex layout Fragment items

Room Migrations — “Testing”