Simon Harrer @simonharrer, Jörg Lenhard, Linus Dietz
Edited by Andrea Stewart
Improve your coding skills by comparing your code to that of expert programmers, and write code that’s clean, concise, and to the point. Level up your coding style through side-by-side 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.
Learn to keep your booleans in check, dodge formatting bugs, get rid of magic numbers, and use appropriate iteration. Write informative comments when needed, but avoid them when they are not. Improve the understandability of your code by following conventions and naming your objects accurately. Make your programs more robust with intelligent exception handling, and assert that everything works as expected using JUnit5 as your testing framework. Adopt an elegant functional programming style and clear-cut object-oriented class design.
Make your way from a Java novice to a master craftsman, by example.
"I wish this book had been there when I was getting started with programming. It’s like a mentor, looking over your shoulder, and patiently helping you get your programming skills up to the next level."
–Achim Weimert, CTO, wOndary LTD
- Full details: https://pragprog.com/book/javacomp/java-by-comparison
- View this book’s portal and details on how to post errata and suggestions here.
Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout