📜 ⬆️ ⬇️

Procedural vs. object oriented programming

The first topic and the first reflection on how I write sites .
Recently, a colleague flying up to my littered workplace exclaimed - “How can you write without OOP?”. In response, I spread my hands and smiled. Because I do not know how I can .
For some reason, OOP causes attacks of indigestion in me? For me, this is a jumble of code to confuse traces (if it is specifically in the object classes to understand).
I do not deny OOP, I even use it in utility classes, but I still have a procedural basis for the site: separate templates, requests, and conclusions. Everything is in one place, everything is transparent and linear. It’s more convenient and faster for me ...
Retire?

')

Source: https://habr.com/ru/post/61078/


All Articles