tag:blogger.com,1999:blog-5638372.post116249961367957482..comments2023-10-10T05:22:56.347-05:00Comments on binkley's BLOG: Java enum misuseBrian Oxleyhttp://www.blogger.com/profile/06617364377560752378noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5638372.post-73521880929783767832008-06-22T21:50:00.000-05:002008-06-22T21:50:00.000-05:00it is cool.it is cool.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5638372.post-18036782210511719202007-04-20T12:13:00.000-05:002007-04-20T12:13:00.000-05:00This is reminding me of C++ now... please, Java de...This is reminding me of C++ now... please, Java developers, do not turn this into the complicated nightmare of C++. Just because we are capable of taking things to the complicated extreme, it doesn't help us to produce programs that benefit people. Frustrating.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5638372.post-67143772801971589862007-03-02T15:25:00.000-06:002007-03-02T15:25:00.000-06:00HEY KEWL PAGE. I WAS GOOGLING 4 CHEAP C-WORLD TICK...HEY KEWL PAGE. I WAS GOOGLING 4 CHEAP C-WORLD TICKETS AND UR SITE IS DA BEST!!!!!<BR/><BR/>I think enums are really a needed feature, but they just seem too flexible to me. The compiler should force any class-members to be final. That would cut down on a lot of the insanity.<BR/><BR/>On another note, you can implement interfaces but not extend other enums? I agree with you on that alternative (difficult) syntax being a bit unnecessary.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5638372.post-9237564233625896542007-03-02T13:09:00.000-06:002007-03-02T13:09:00.000-06:00Thank you so much! I was hoping to find some tick...Thank you so much! I was hoping to find some tickets to see a cheap madonna.<BR/><BR/>The only example I can come with for mutable enums is if some value of the enum needs to be read from a database or configuration file. The value is still immutable logically, but would need to be mutable from the perspective of the class loader.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5638372.post-1163244907689002042006-11-11T05:35:00.000-06:002006-11-11T05:35:00.000-06:00"there are legitimate uses for complex enums."I'm ..."there are legitimate uses for complex enums."<BR/><BR/>I'm not sure what case would suggest mutable enum members. Can you expand on that a little?<BR/><BR/>"And for the fan of difficult syntax"<BR/><BR/>Yes, the syntax of anonymous enum members seems odd at first, but I prefer to implement them that way if the alternative would be a switch statement.Ricky Clarksonhttps://www.blogger.com/profile/13845104548520132930noreply@blogger.com