in reply to Converting pascal code to perl
Surely, things can be made shorter in Perl than in Pascal, but shorter in places when Perl really has an advantage, like regexes, list processing and hashes (and many more, of course). I'm in no doubt that a Golf guru can knock the friend's whole 8-page program into a 512 byte block, but that is hardly the point.
On the contrary, you should show the friend how Perl can make things more clear and natural, and win where complex operations (which need to be implemented in Pascal) are used.
Good luck and happy Perl-ing
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Converting pascal code to perl
by Popcorn Dave (Abbot) on Aug 15, 2002 at 16:18 UTC |