Java by Comparison - Simon Harrer, Jorg Lenhard, Linus Dietz

Java by Comparison

Become a Java Craftsman in 70 Examples
Buch | Softcover
208 Seiten
2018
Pragmatic Bookshelf (Verlag)
978-1-68050-287-9 (ISBN)
37,15 inkl. MwSt
Write code that's clean, concise, and to the point: code that others will read with pleasure and reuse. Comparing your code to that of expert programmers is a great way to improve your coding skills. Get hands-on advice to level up your coding style through small and understandable examples that compare flawed code to an improved solution. Discover handy tips and tricks, as well as common bugs an experienced Java programmer needs to know. Make your way from a Java novice to a master craftsman.

This book is a useful companion for anyone learning to write clean Java code. The authors introduce you to the fundamentals of becoming a software craftsman, by comparing pieces of problematic code with an improved version, to help you to develop a sense for clean code. This unique before-and-after approach teaches you to create clean Java code.

Learn to keep your booleans in check, dodge formatting bugs, get rid of magic numbers, and use the right style of iteration. Write informative comments when needed, but avoid them when they are not. Improve the understandability of your code for others by following conventions and naming your objects accurately. Make your programs more robust with intelligent exception handling and learn to assert that everything works as expected using JUnit5 as your testing framework. Impress your peers with an elegant functional programming style and clear-cut object-oriented class design.

Writing excellent code isn't just about implementing the functionality. It's about the small important details that make your code more readable, maintainable, flexible, robust, and faster. Java by Comparison teaches you to spot these details and trains you to become a better programmer.

What You Need: You need a Java 8 compiler, a text editor, and a fresh mind. That's it.

Simon Harrer is a developer and teacher who's always looking out for new technologies, frameworks, and ideas. His friends call him a clean code evangelist, but in a good way.

Joerg Lenhard is a university teacher, software engineering researcher, and open source software developer. He's working on code quality and software architecture.

Linus Dietz is a research assistant at the Technical University of Munich. His passion lies in developing elegant algorithms and advancing open source software.

Erscheinungsdatum
Verlagsort Raleigh
Sprache englisch
Maße 190 x 232 mm
Gewicht 368 g
Einbandart kartoniert
Themenwelt Informatik Office Programme Outlook
Informatik Programmiersprachen / -werkzeuge Java
Mathematik / Informatik Informatik Software Entwicklung
Mathematik / Informatik Informatik Web / Internet
Schlagworte Clean Code • Java 8 (Programmiersprache); Handbuch/Lehrbuch • Programmieren
ISBN-10 1-68050-287-5 / 1680502875
ISBN-13 978-1-68050-287-9 / 9781680502879
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Wie bewerten Sie den Artikel?
Bitte geben Sie Ihre Bewertung ein:
Bitte geben Sie Daten ein:
Mehr entdecken
aus dem Bereich

von Bob Levitus

Buch | Softcover (2023)
For Dummies (Verlag)
28,75