View Single Post
Old 10-28-2008, 09:08 PM  
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by Ice View Post
I respect someone that can write clean code. Too many people don't know what they are doing and create more work to clean up their mess then it would be to start from scratch.
I will write a small, simple script, rather than import 5,000 Pear modules if it will decrease load, server time, and make life easier. Hell, if it requires any caching, I'll generally offer a file, db, or SHM based cache to keep things low if you are a small system.. if not, sometimes I cheat and use a file that's global across all hosts, and there are other options like mod_auth_tkt, etc, from there. It all depends on the requirements, and requests of those who need the work done.

I started, and still do admin work (I'm sure a few will pop up here), so I know both sides of that coin. Admins should get less work; code should do what it needs to and make the life of the admin easier.

If someone wants me to use OOP in a custom class, I have no problem with it. However, if it's 10 lines including sanitation, I will suggest it not be a requisite, but I will still provide what is asked of me, even if I disagree.

Quote:
Originally Posted by Sly
Great... tomorrow I will write out some documentation about what my script does and what I want added to it.
Drop it in an email to grouch%40grouchyadmin. I'll look it over, then may ask you to give me ssh, or the primary script's code, to see what I can do.
__________________

Last edited by GrouchyAdmin; 10-28-2008 at 09:10 PM.. Reason: Lost quotes!
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote