DEV Community


Discussion on: PHP is bad for Object-Oriented Programming OOP

jorgecc profile image
Jorge Castro Author • Edited

Then how could you set a property?.

Do you want to define as private and to add setter and getter? Then good luck by breaking the performance of the code because of a code that adds nothing but bloat.