Summary
In this chapter, we discussed the S.O.L.I.D. principles that underpin good code, exploring specific examples and how, as they expand in complexity, we need to consider these principles to keep the code functioning. These principles are widely recognized across the game development industry, and so understanding them will not only help improve code efficiency and readability but also allow smooth communication with co-developers on larger projects.
We also explored a series of common problems that new Unreal Engine users encounter and the solutions to them, looking specifically at a series of common tasks such as moving items and managing a selection of weapons on a character. The solutions, while specific, offer insights into how easily a developer can find themselves with large, lumbering Blueprints that can be solved by utilizing built-in systems and tools.
In the next chapter we will be taking these principles of clean code and seeing how Epic Games have applied them...