Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This weekend I did an experiment of writing a toy project as procedural PHP instead of OOP. This was because of a discussion on reddit where someone claimed that procedural was much better than OOP, but without giving any proof or showing any code.

Procedural PHP has ofc always existed, but I wanted to experiment how a modern take with the latest PHP 8.1 features could look like. There was both plus and minuses. I will publish it to github soon.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: