![]() This semantics-preserving approach increases type safety, produces code that is easier to comprehend, removes unnecessary complexity, and eliminates brittleness problems due to separate compilation. We present a novel fully-automated approach for transforming legacy Java code to use the new enumeration construct. ![]() ![]() Unfortunately, these compensation patterns lack several highly-desirable properties of the enum construct, most notably, type safety. Prior to recent Java languages, programmers needed to employ various patterns (e.g., the weak enum pattern) to compensate for the absence of enumerated types in Java. In this article we consider the new enum construct, which provides language support for enumerated types. Modern Java languages introduce several new features that offer significant improvements over older Java technology.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |