Robert

69%
Flag icon
The remainder of a package name should consist of one or more components describing the package. Components should be short, generally eight or fewer characters. Meaningful abbreviations are encouraged, for example, util rather than utilities. Acronyms are acceptable, for example, awt. Components should generally consist of a single word or abbreviation.
Robert
But what about when a package component is multi-word? I haven't found any good stated convention for multi-word components (for example, "com.example.ui.viewmodel" vs "com.example.ui.view_model"; I know most tend toward the former).
Effective Java
Rate this book
Clear rating
Open Preview