4 ms·
The naming of ReflectionClass is enough to make me want to cry. I know naming things in CS is hard, but if you're having to put the word "Class" in your class
by JonnieCache 15y ago
The naming of ReflectionClass is enough to make me want to cry.
I know naming things in CS is hard, but if you're having to put the word "Class" in your class names to make your code readable then you've got real problems.
- wvenable 15y agoIt's a Reflection of a Class. Similarly there is ReflectionObject, ReflectionMethod, ReflectionParameter, and ReflectionProperty.
- JonnieCache 15y agoI suppose that's fair enough. It's not exactly ideal though is it, but PHP's lacklustre naming conventions are hardly ground that needs to be trodden again.