Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Perl is Flexible, So I am Not

by gjb (Vicar)
on Nov 11, 2002 at 16:29 UTC ( [id://211963]=note: print w/replies, xml ) Need Help??


in reply to Perl is Flexible, So I am Not

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-

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-11-06 11:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    chatterbot is...






    Results (32 votes). Check out past polls.