Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

I Hate C, part I

by Q*bert (Sexton)
on Jun 22, 2000 at 20:38 UTC ( [id://19467]=poem: print w/replies, xml ) Need Help??

#!/usr/bin/perl -c #Copyright (C) Quinn Weaver, 2000. Distribute under the Artistic Lice +nse. use Carp; confess ('I may be biased...'); after ('a', $night); without + $sleep; coding ($C); &complain; print <<that_sucked; ( :-( ); that_sucked $but, $i; package the_C_mentality; $into->a_few_words; eval ($C) and realize(); no C_mentality; is_useful; for (;$gettingThingsDone;){ break OUT_OF; $this, system ('of', $mental{oppression}); foreach $idiom (@the_C_pantheon) { eval $idiom; require 'some explanation'; for ($idiom;;){ if ($idiom->is_good){ use it_in_Perl ('instead');} if ($idiom->is_bad){ carp "No surprise there."; if ($idiom->is_awkward and $pointless or (['even', 'dangerous'])){ warn "$the_world: Yet another pointless C'ism"; delete $idiom{''} ;} }}}} return 'to_coding_Perl';

Replies are listed 'Best First'.
RE: I Hate C, part I
by Russ (Deacon) on Jun 23, 2000 at 01:43 UTC
    I really like:
    require 'some explanation'; for ($idiom;;){ if ($idiom->is_good){ use it_in_Perl ('instead');} if ($idiom->is_bad){ carp "No surprise there.";
    :-)

    Russ

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: poem [id://19467]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-25 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found