JAVA-CC
Clean Code in Java
Description
The aim of the training is for the participating Java developers to write not only working code, but code that is easy to maintain. This is based on the ability to identify common programming errors and to have ready solutions to avoid them. By applying these, not only themselves but also their colleagues will understand the code and modify or improve it without errors when necessary. The training is based on Robert C. Martin's classic book Clean Code. It is fundamentally practical and use case based, i.e. during the training we will look at a number of exercises, working solutions that do not conform to the principles of clean code, and modify them. Unit testing is heavily used throughout the training.
Outline
- The Clean Code concept
- Names
- Functions
- Comments
- Format
- Objects, data structures
- Boundaries
- Error and exception handling
- Classes
- Systems
- Enhancements
- Static code checking and code review
- Suspect code
Prerequisites
Knowledge of the following topics is expected: secure development tool management, packages, classes, interfaces, exception handling.
Prerequisite: completion of the Java SE Fundamentals (JAVA-BSC) course or practical knowledge of the material covered in that course.
As some of the course material is in English, a basic knowledge of English at document reading level is required. The training is in Hungarian, based on Hungarian language slides.