From the course: C#: Design Patterns Part 1

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

What isn't OOP for design patterns

What isn't OOP for design patterns - Python Tutorial

From the course: C#: Design Patterns Part 1

Start my 1-month free trial

What isn't OOP for design patterns

- [Instructor] The design patterns we're discussing are based on object oriented programming, and don't apply the same way to non-object oriented programming. Trying to force OOP design patterns, in the following situations could be problematic. Procedural programming is just a list of instructions, a to do list. This is the basis of all scripting languages, as well as a lot of other languages that have been retrofitted with object oriented concepts like C for example. C-sharp has procedural elements as it finds a lot of its origin in the C language. It just means to execute instructions in an order, you still reuse code, you can still call sub routines from multiple places. Procedural programming can certainly coexist with object oriented programming in many cases but it's important not to confuse the concepts. Functional programming is based around actions instead of objects. Functions, it is a fairly different way of…

Contents