in reply to Re: C vs. Perl
in thread C vs. Perl

Of all the offbeat replies in this thread, this has to be the most ridiculous - While we are at it, why don't we also add the GETPRICE.h library, then our code would be as simple as:

#include <stdio.h> #include <GETPRICE.h> int main(int argc, int *argv[]) { PRICE *p; if (init_price(p, "file") != 0) return 1; printf("The price of an apple is %s\n", get_price(p, "apple")); destroy_price(p); return 0; }

The summary of this thread should simply be - C and Perl are different, get over it.

Replies are listed 'Best First'.
Re: Re: Re: C vs. Perl
by Roger (Parson) on Oct 23, 2003 at 12:13 UTC
    I think you are missing the point. The GETPRICE module implements a specific business rule, it is not a utility module.

    Yes I agree Perl and C are different, but they are really not THAT different.