Re: a bit policy, a bit devel [was: Re: Find the display]
Hamish Moffatt <hamish@debian.org> writes:
> On Tue, Aug 15, 2000 at 03:15:04AM +0200, goswin.brederlow@student.uni-tuebingen.de wrote:
> > Yeah, I hate perl. Its easy to create bugs and hard to fix them.
>
> You can do that in any language. Perl is no different to C in that regard.
> Recently I've been programming a lot in Tcl; too many inconsistencies
> to be a good language IMHO.
Lets see, some regular used feature in Perlk is to use the return
value of a funktion thats stored in $_ or somthing.
Example:
You call a funktion that return something, than one that doesn't and
then you return $_, which would be the result of the first function.
Lets translate that to C:
void bla();
int foo();
int main() {
foo();
bla();
return;
}
That might even work with a very broken C compiler and spezial
functions foo and bla, but "gcc -O2 -W -Wall" will not let you do that
without screaming off your head.
May the Source be with you.
Goswin
Reply to: