Java by Comparison

Become a Java Craftsman in 70 Examples



Bookstore > Books > Java by Comparison

Price$22.67 - $32.00
Rating
AuthorsSimon Harrer, Jorg Lenhard, Linus Dietz
PublisherThe Pragmatic Programmers
Published2018
Pages206
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101680502875
ISBN-139781680502879
EBook Hardcover Paperback

Improve your coding skills by comparing your code to that of expert programmers so you can write code that's clean, concise, and to the point: code that others will read with pleasure and reuse. 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.




5 5 224

Similar Books


Learning Java by Building Android Games

Learning Java by Building Android Games

by John Horton

Android is the fastest growing operating system (OS) with one of the largest installed bases of any mobile OS. Android uses one of the most popular programming languages, Java, as the primary language for building apps of all types. So, you should first obtain a solid grasp of the Java language and its foundation APIs to improve the chanc...

Price:  $44.99  |  Free ebook  |  Publisher:  Packt Publishing  |  Release:  2015

Learning JavaScript Design Patterns, 2nd Edition

Learning JavaScript Design Patterns, 2nd Edition

by Addy Osmani

Do you want to write beautiful, structured, and maintainable JavaScript by applying modern design patterns to the language? Do you want clean, efficient, manageable code? Want to stay up-to-date with the latest best practices? If so, the updated second edition of Learning JavaScript Design Patterns is the ideal place to start.Author Addy ...

Price:  $28.92  |  Publisher:  O'Reilly Media  |  Release:  2023

Beginning JavaScript and CSS Development with jQuery

Beginning JavaScript and CSS Development with jQuery

by Richard York

jQuery allows you to do more in the world of dynamic web applications, with less code and fewer errors. It reduces the amount of JavaScript programming to only a few lines of code while making your JavaScript more intuitive and attractive to work with. At the same time, jQuery makes it easier to manipulate CSS from JavaScript by allowing ...

Price:  $3.99  |  Publisher:  Wrox  |  Release:  2009

JavaScript for Absolute Beginners

JavaScript for Absolute Beginners

by Terry McNavage

If you are new to both JavaScript and programming, this hands-on book is for you. Rather than staring blankly at gobbledygook, you'll explore JavaScript by entering and running hundreds of code samples in Firebug, a free JavaScript debugger. Then in the last two chapters, you'll leave the safety of Firebug and hand-code an uber ...

Price:  $19.99  |  Publisher:  Apress  |  Release:  2010

Kotlin in Action

Kotlin in Action

by Dmitry Jemerov, Svetlana Isakova

Developers want to get work done - and the less hassle, the better. Coding with Kotlin means less hassle. The Kotlin programming language offers an expressive syntax, a strong intuitive type system, and great tooling support along with seamless interoperability with existing Java code, libraries, and frameworks. Kotlin can be compiled to ...

Price:  $31.99  |  Publisher:  Manning  |  Release:  2017

WebAssembly in Action

WebAssembly in Action

by Gerard Gallant

WebAssembly in Action introduces the WebAssembly stack and walks you through the process of writing and running browser-based applications. Expert developer Gerard Gallant gives you a firm foundation of the structure of a module, HTML basics, JavaScript Promises, and the WebAssembly JavaScript API.Write high-performance browser-based appl...

Price:  $39.99  |  Publisher:  Manning  |  Release:  2019

Programming Kotlin

Programming Kotlin

by Venkat Subramaniam

Programmers don't just use Kotlin, they love it. Even Google has adopted it as a first-class language for Android development. With Kotlin, you can intermix imperative, functional, and object-oriented styles of programming and benefit from the approach that's most suitable for the problem at hand. Learn to use the many features ...

Price:  $38.99  |  Publisher:  The Pragmatic Programmers  |  Release:  2019

Functional Programming Patterns in Scala and Clojure

Functional Programming Patterns in Scala and Clojure

by Michael Bevilacqua-Linn

Solve real-life programming problems with a fraction of the code that pure object-oriented programming requires. Use Scala and Clojure to solve in-depth problems with two sets of patterns: object-oriented patterns that become more concise with functional programming, and natively functional patterns. Your code will be more declarative, wi...

Price:  $20.76  |  Publisher:  The Pragmatic Programmers  |  Release:  2013