Java Best Practices
Clean code is not a nice-to-have: it is a necessity for the long-term success of any software.
“The ratio of time spent reading versus writing is well over 10 to 1. We are constantly reading old code as part of the effort to write new code. Therefore, making it easy to read makes it easier to write. »
Analogy: Treat technical debt like credit card debt. The more you ignore it, the worse it gets.
Sign in to read this course
A free account unlocks all 514 courses. 20 are readable without one.
What's inside
13 sections- 1 Table of Contents
- 2 Course Overview
- 3 Why care about best practices?
- 4 The name is important
- 5 Create Objects the Right Way
- 6 Best practices for implementing methods
- 7 Character strings and numbers
- 8 Iterations and branches
- 9 Handle exceptions elegantly
- 10 Write only helpful comments
- 11 Create better tests
- 12 Conclusion and further reading
- 13 Summary of rules by module
More Java, Backend Architecture & Full-Stack courses
View all 30Full-stack Java Development with Spring Boot 3 and React
A job-portal app — Spring Boot 3 backend, JWT/OAuth2 auth, a React frontend and Docker CI/CD on AWS.
Full-stack Java Development with Play Framework and React
Non-blocking REST APIs and WebSockets with Play and Akka Streams, a React+Redux UI and AWS deployment.
Microservices Foundations
What microservices are, why and when to use them, communication patterns and how to adopt them.
Asynchronous Programming in Java
By the end of this course, you will be fully equipped to understand the structure of the CompletableFuture API and navigate its many methods.
Building a REST API with Python 3
In this course you will learn how to build a complete Python project from scratch. You will use the excellent and very popular FastAPI framework to build a REST API that serves data from...
Building an Application Using Java SE
This course teaches how to build a true end-to-end Java application, using industry standard tools, libraries, and practices. The objective is not to learn a particular framework, but to...
Interested in this course?
Contact us to book it or get a custom training plan for your team.