Re:PHP CommonMark
by aercolino on Thursday December 25, 2014 @10:47PM
(#8797964)
Sorry to add a critic. If you want to make your PHP classes easy to extend, refrain from private and prefer protected. Otherwise, a developer that wants to extend one of your classes will need to also override (i.e. copy and paste) into her class all private members called from the members she really wants to override.
[ Parent
| on HN ]
There are no comments on this comment yet.