© Nico Loubser 2021
N. LoubserSoftware Engineering for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-6622-9_5

5. Object Calisthenics, Coding Styles, and Refactoring

Nico Loubser1  
(1)
London, UK
 

This chapter discusses how code is written and consists of three parts: object calisthenics, coding styles, and refactoring. This chapter will not concern itself with the design aspects of problem solving. It will purely look at your code’s readability and how easy it is for other software developers to understand your code. Harold Abelson, author of Structure and Interpretation of Computer Programs, famously said, “Programs must be written for people to read, and only incidentally for machines to execute.” And I must agree. Readability is a very important ...

Get Software Engineering for Absolute Beginners: Your Guide to Creating Software Products now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.