Posted by Marta on February 2, 2023 Viewed 4824 times
This article will share some of the best four books on Object Oriented Programming and most recommended. Each of these books talks about object oriented programming from a different perspective. Looking at the subject from different angles is a great way to get a deep understanding of this paradigm and its role in software development.
I will share a brief overall introduction and who I think could benefit from reading this book. Let’s get started!
The book aims to help someone with basic programming skill to understand object oriented programming. It is written originally and thoughtfully, using different learning strategies to maximize understanding and retention. They used pictures in unexpected ways with some emotional content. The book also expresses the same ideas in different ways; this redundancy is intentional to make your learning more effective. All these strategies attempt to increase the chance of your brain assimilating the content.
In the first chapter, you will learn why designing and writing good code is important and how it will impact your software users. All explanations are illustrated with real situation examples.
It is not a reference book with all object oriented concepts and examples, but more a book to read back to back. You will see how to create better software application by using object oriented principles. The book starts explaining how to design a system by first receiving customer requirements, how these requirements change over time and translating your design to classes.
This book is one of the best books on Object Oriented programming and a great This book is a great design pattern reference; once you are familiar with object oriented design principles, this book is your next stop.
There are many problems in object oriented design that has been solved already; why solving them again? Being familiar with these design solutions will take your object oriented skills to the next level.
Although the book refers to old programming languages like Smalltalk and Eiffel, the ideas captured about design patterns are generic and apply to any language.
As a result, there are many diagrams to illustrate object designs, but not many code examples. A good aspect is that what you learn in this book can be applied to any language. In other words, you will learn strategies to write better code in any programming language. However, you won’t know anything specific to any programming language.
The author explained Design Patterns in a really complete way. One of the things I like about this book is that it provides a list of bad design causes paired up with the design pattern to avoid it.
For instance, creating an object using a concrete class can be a cause of bad design; you should try to refer to interfaces as much as possible. This can be avoided using the abstract factory or factory method design pattern.
Additionally, for each design pattern, you will learn the motivation, the problem the design pattern is trying to solve when you should use it, the classes you should create to implement the pattern, and the consequences of using it. Please note all code examples are in C++.
This book describes how testing software has changed after the introduction of TDD( Test Driven Development). Many developers see testing as a tedious task compared to adding features. However, TDD has turn testing more into a creative design activity that leads to better and clearer object oriented designs. TDD is a very well-known and industry-standard technique; therefore, understanding how to write test effectively can be very beneficial as a developer.
It also talks about the software development process. Also how different testing levels will produce a more reliable and predictable software piece. Plus, sharing a fascinating perspective, explaining how an object-oriented system can be seen as a bunch of objects and how objects communicate and how information flow between them.
Plus, it shares some useful techniques to improve readability, like the “Law of Demeter,” also known as “Tell, Don’t ask.”
You will find all examples in this book written with Java, Junit, Hamcrest, and Jmock2; however, the techniques are quite generic to be implemented with other frameworks.
Furthermore, it shares some exciting techniques to improve the software development process and kick off a new project with a “walking skeleton.”
Overall, I will recommend this book to better understand the software development process. And an interest in how different testing types can improve the quality of code.
I think this book is more oriented to someone with a computer science degree or a programmer who wants to understand how the software industry works. The book describes the process of having some requirements to create a software system to create a working system. In other words, the software development process. This process starts with gathering and analyzing requirements, creating object-oriented designs that accommodate the needs, and finally implementing the design.
This book provides excellent insights into the primary type of software developments: iterative and waterfall. The iterative development process is widely used since it adapts better to software projects, which are uncertain at the start and go through a massive amount of changes and adaptation.
It continues by explaining the different phases a software development process will go through, from inception, where the business idea or project is evaluated. The next step is gathering requirements of different types: functional, performance, etc. The next important step is writing use cases.
Once 10% of the critical use cases are defined, the software development process can start. The software development process will include defining the domain model, defining the communication between objects, and more. All using different diagrams, which are explained in detail.
Although this could seem like a very long process that only big companies carry out, any software can follow this process in a short amount of time. Understanding and following these steps will highly increase the chances of success. For instance, let’s say you would like to create a website. You can write down the minimal requirements, a few use cases that will cover your need. And then start defining the domain model and interactions in one or two days.
In conclusion, in this article, you will find the best books on objected oriented programming. Each of these books is for a different level. In case you are starting with object oriented programming, I will recommend the first book: “Head First Object-Oriented Analysis and Design”. The others are excellent choices when you understand the topic and want to achieve a deep understanding.
I hope you enjoy the article and thank you so much for reading and supporting this blog!
Steady pace book with lots of worked examples. Starting with the basics, and moving to projects, data visualisation, and web applications
Unique lay-out and teaching programming style helping new concepts stick in your memory
Great guide for those who want to improve their skills when writing python code. Easy to understand. Many practical examples
Perfect Boook for anyone who has an alright knowledge of Java and wants to take it to the next level.
Excellent read for anyone who already know how to program and want to learn Best Practices
Perfect book for anyone transitioning into the mid/mid-senior developer level
Great book and probably the best way to practice for interview. Some really good information on how to perform an interview. Code Example in Java