Beta-Release of Java by Comparison

I am very happy to announce the beta release of my newest book titled “Java by Comparison” that I am writing together with Simon Harrer and Linus Dietz. A beta release is something that might sound strange for a book, but it is a regular event for almost every book published at The Pragmatic Programmers, LCC, the publisher founded by Andy Hunt and Dave Thomas after their writing experience with The Pragmatic Programmer. Beta means that we are still working on the book. The final chapter is in the process of being finalized, we’ve integrated one round of technical reviews and the next round is coming. Nevertheless, you can already buy the book, read what is there and comment upon it. You will also get access to subsequent releases and the final version of the book when it is done (target: 10th May, 2018).

Java by Comparison

The title makes it pretty clear that this is a book about Java programming, but here’s the (slightly-adapted) “about this title”-part of the book with some more info. I hope it gets you interested:

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 crafter, 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.


2 thoughts on “Beta-Release of Java by Comparison

  1. Thanks :) It is indeed a great feeling to have the book at this stage. It’s been a gigantic amount of work throughout the whole year and will require more effort into the next, so it’s nice to see this publicly visible progress. Personally, I’ve learned so much along the way, not at least for my style of writing which is totally different for a book like this on the one hand and my academic papers on the other.

  2. It so cool that you wrote a book that will be published by PragProg (of all places)! I guess a dream comes true for the three of you with this labour of love? Good luck!

Comments are closed.