DEV Community

Edward Turner
Edward Turner

Posted on

Don't Forget to F.O.O.P

Introduction

“All roads lead to Rome.” While this phrase indicates there are multiple solutions to a problem, there are specific solutions that are more adept at the problem. This analogy applies to the programming style of our software.
Throughout this article, we will discuss the different programming paradigms and the benefits of each.

Which Paradigm to Choose?

Our decision of which paradigm to choose should comply with the best practices with the Software Development Life Cycle (SDLC). The following principles are part of the best practices of SDLC: Single Responsibility and D.R.Y. (Don’t Repeat Yourself). These principles encourage software that is testable, maintainable, and stable. By complying with these principles, you can develop more confidence in your software and increase your development team’s velocity.
Two main paradigms comply with these: Functional Programming and Object-Oriented Programming. Throughout our discussion, we will cover both of the benefits and caveats of the paradigm.

We will use Python as the programming of choice to illustrate these concepts.

....

If you want to learn more, please continue reading here: https://towardsdatascience.com/dont-forget-to-f-o-o-p-5318cffc9ded

Top comments (0)