Java by Comparison (Pragmatic Bookshelf)

PragmaticBookshelf
Improve your coding skills by comparing your code to that of expert programmers, and write code that’s clean, concise, and to the point.

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: Search
  • 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 :+1:

Latest Threads About This Book Top

mjk
Here is a list of probable typographic and editing errors. p. 3, “to discuss, if it’s better” -> “to discuss if it’s better” p. 8, “...
New
mjk
Many of the 70 recommendations are applicable to other modern(-ized) object-oriented languages. I read the book even though I was lookin...
New
mjk
TL;DR: words that incorporate negation are acceptable, eg. independent, asymmetric, nondeterministic. An example in the book is to renam...
New
mjk
While I am sure the code snippets look great in glorious color, the gray tones used in the printed paperback are hard to read for method ...
New
PragmaticBookshelf
Improve your coding skills by comparing your code to that of expert programmers, and write code that’s clean, concise, and to the point. ...
New

Most Active This Week Top

Most Active This Month Top

Most Active This Year Top

Most Active Last Three Years Top

Most Active Over Three Years Top

PragmaticBookshelf
Improve your coding skills by comparing your code to that of expert programmers, and write code that’s clean, concise, and to the point. ...
New
mjk
Here is a list of probable typographic and editing errors. p. 3, “to discuss, if it’s better” -> “to discuss if it’s better” p. 8, “...
New
mjk
While I am sure the code snippets look great in glorious color, the gray tones used in the printed paperback are hard to read for method ...
New
mjk
TL;DR: words that incorporate negation are acceptable, eg. independent, asymmetric, nondeterministic. An example in the book is to renam...
New
mjk
Many of the 70 recommendations are applicable to other modern(-ized) object-oriented languages. I read the book even though I was lookin...
New

Book Info

Publisher: Pragmatic Bookshelf
Tag: #book-java-by-comparison
Threads: 5

Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Simply use coupon code "devtalk.com" at checkout. See full details here.