go ahead... be a heretic | |
PerlMonks |
Re: Perl is Flexible, So I am Notby gjb (Vicar) |
on Nov 11, 2002 at 16:29 UTC ( [id://211963]=note: print w/replies, xml ) | Need Help?? |
It all depends of the type of problems one is trying to solve. Unfortunately Perl is not the optimal answer to each and every problem. In this context I'd like to mention Lisp (or Scheme if you prefer) for dynamic coding (code == data). By way of example, try to do genetic programming in Perl vs. Lisp, although one can obviously do it in Perl, it's way easier in Lisp. When dealing with rule based problems and inference, Prolog or Clips is the way to go. Of course you can write your own inference engine if you must. Even internet programming can be more convenient in Rebol than it is in Perl since it is much easier to distribute the runtime system over various computers. Writing a parser is easy in Perl with Parse::RecDescent, but unfortunately it's sometimes prohibitively slow, so that one must resort to Java or C++ with a tool like AntLR. When dealing with math problems, it's a lot easier to use Maple or Mathematica to get the symbolic maths done, and Matlab for the numerics. As I said, it all depends on what problem you have to solve. The more programming languages, the more freedom, the less effort one has to spend. There's more than one way to do it and There's more than one language to code in. Just my 2 cents, -gjb-
In Section
Meditations
|
|