News Archive
PhpRiot Newsletter
Your Email Address:

More information

OOP vs Procedural Code

Note: This article was originally published at Planet PHP on 12 July 2012.
Planet PHP
This morning I was asked a question that took me by surprise: "Your examples for PasswordLib are in OOP style, how do I write it in procedural style"... This took me by surprise, because the examples actually are in a procedural style. So I felt that I should write a post about the real differences between OOP and Procedural coding styles. Hint: whether you use classes and objects or not has very little to do with the answer...Read more A