Dear #java #programming #language designers,
You know what would be great?
Overriding a central enum to add locally required values.
Use case: an HTTP client's mime types. The client has a preset enum for mime types. My application needs a different mime type. Java won't let me add my own because enums become final static singletons.
One could argue using an enum here was a bad choice. Extensibility should have been expected.
I argue that the bad choice was making enums final.