RE: [PHP] 'Code Snippets' you couldn't live without

From: Date: Thu, 04 Nov 2004 11:21:10 +0000
Subject: RE: [PHP] 'Code Snippets' you couldn't live without
Groups: php.general 
Request: Send a blank email to php-general+get-201154@lists.php.net to get a copy of this message
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 03 November 2004 19:40, Pablo Gosse wrote: > [snip]Klaus Reimer wrote: > > Murray @ PlanetThoughtful wrote: > > > function asl($val){ > > > function mfr(&$rset){ > > > > This may be ok for private projects but otherwise I don't think > > it's a good idea to create "shorthand" functions. Other developers > > (and especially new developers beginning to work on the project) are > > getting confused. They must first learn what this functions are > > doing. The names of these functions are not really helpful in > > understanding what's going on.[/snip] > > I'm with Klaus on this one. Me too (tm)! This is a job for a good editor, with automatic name completion or abbreviation expansion. This gives you the convenience of shortcuts when coding, together with the full standard names when reading the source code at a later date! Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: m.ford@leedsmet.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#201154) next »