[Chicago-talk] Sharing my pain

Michael D. Stemle, Jr. manchicken at notsosoft.net
Sun Oct 15 06:37:13 PDT 2006


My point is that terrible code is language independent.  Idiocy is more 
portable than the code it generates ^_^

On Sunday 15 October 2006 02:05, Jonathan Rockway wrote:
> > He was **USING A SHELL ESCAPE TO HIT THE DATABASE!!**  That would have
> > been bad enough had he done it in only one place... but no.  He did it
> > EVERYWHERE, in all four Perl, PHP, Python, and Ruby.
>
> OTOH, Larry Wall suggests this:
>
> my $file = `cat $filename`;
>
> And I use this:
>
> my $website = `curl $url`;
>
> Perfect?  No.  Fast to type? Yes.
>
> Not everything is an enterprise web 2.0 uber-efficient app.
>
> In your case, though, the "production" code probably wasn't throwaway, so
> maybe someone should mention DBI to the guy :)

-- 
~ Michael D. Stemle, Jr. <><
(A)bort, (R)etry, (I)nfluence with large hammer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/chicago-talk/attachments/20061015/161f2daf/attachment.bin 


More information about the Chicago-talk mailing list