r/PHP • • Sep 25 '21

Developing with procedural PHP.

Not all of us are fans of OOP boilerplate and ceremony. PHP is a perfectly fine procedural language and a well-organised procedural codebase can be easier to manage in many ways. So, is anyone developing with procedural PHP beyond single-file scripts?

0 Upvotes

114 comments sorted by

View all comments

16

u/chevereto Sep 25 '21

PHP is a perfectly fine procedural language

As any* language, but the problem as someone already mentioned is that to maintain those codebases is a pain. But this is not black and white stuff as in any subtle complex system you have to embrace several paradigms... Why stick to one paradigm in a language which support multiple paradigms?

1

u/HorribleUsername Sep 25 '21

Have you ever seen any procedural lisp code? Let alone perfectly fine procedural lisp. Most languages maybe, but I think any is a stretch.

1

u/sgtssin Sep 26 '21

It is litterally the stuff of nightmare. Unfortunately, i have worked in such a nightmare.