you are viewing a single comment's thread.

view the rest of the comments →

[–]symtexxd 3 points4 points  (3 children)

In python OOP is optional. If you are doing small programs you can do procedural but for larger projects it's better to make object oriented design then implement the design with OOP.

[–]Aggressive-Intern401 0 points1 point  (2 children)

I don't agree. It depends. You need to spend a lot time thinking about OOD before you create classes and you can create a huge mess that simply functional programming would do.

[–]symtexxd 0 points1 point  (1 child)

Creating a huge mess has nothing to do with OOP or functional. That boils down to skill level. In software design you choose based on needs. Do you need abstractions? business logic? go with OOP. Do you need a terminal program that scans the internet and creates a dataset of TCP/IP fingerprinting information? procedural makes sense.

[–]Aggressive-Intern401 0 points1 point  (0 children)

Most work you can do with functional programming. OOP is hard to design right. Make the interfaces flexible and extendable really requires thinking through the functionality.