Joe Soltzberg

41%
Flag icon
Enums are, generally speaking, comparable in performance to int constants. A minor performance disadvantage of enums is that there is a space and time cost to load and initialize enum types, but it is unlikely to be noticeable in practice.
Joe Soltzberg
Not really on Android in the past -- but almost never enough to justify not using them IMO (unless it was at a framework level)
Effective Java
Rate this book
Clear rating
Open Preview