Comments for Cute PHP Library
28 Jan 2002 04:09
Took one look at the code and hated it.
Complete disregard to common coding practices, like meaningful variable names (could you tell me what $p1 and $p2 do just by looking at the name), complete disregard for common PHP practices (uses print + exit instead of die, has weird comment convention), and complete disregard for common OO programming conventions (has public scope functions, but also a 'utility class') also - DB abstraction ? he uses only mysql calls - I don't call DB abstraction to the notion of hiding the usage of MySQL behind assuming names such as dbFetch. dbError and dbErr (that's not a type - yes, you have both dbError and dbErr).
All in all - if you like to keep your PHP coding simple, readable and efficient - avoid this project.
Re: Took one look at the code and hated it.
I liked it; great piece of software; not everyone needs OO code.