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

This is a problem that goes all the way to the core. It isn't very good OO (some will argue PHP isn't really OO anyway) because core types are not objects. Whether you have substr(..., ...), Helper::substr(..., ...) or getSomeInstance()->substr(..., ...) it's really all the same, with maybe some added benefits if you provide some wrapper functionality as in the last case.


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

Search: