Play for Java by Nicolas Leroux Sietse de Kaper

Play for Java by Nicolas Leroux Sietse de Kaper

Author:Nicolas Leroux Sietse de Kaper
Language: eng
Format: epub
Publisher: Manning Publications


Although the case for getters and setters is strong, the downside is that they generate a lot of noise; a simple field with both a getter and a setter requires around seven extra lines of code (depending on your code-formatting convention). Although this may not seem like much, the noise adds up if you have a class with lots of fields; plus you have to remember to generate or write the correct method whenever you introduce a new field. Wouldn’t you rather focus on something else?

7.1.2. Let Play eliminate some noise for you



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.