Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: [OT?] Other Languages

by adrianh (Chancellor)
on May 24, 2005 at 15:21 UTC ( #460028=note: print w/replies, xml ) Need Help??

in reply to [OT?] Other Languages

What task would you NOT use perl for?

Any task that harder in Perl than it is in some other language :-) For example:

  • Tasks that need something faster than Perl can manage (assuming that it's not easier to throw hardware/intelligence at the problem). Then I might go for a good Lisp or Eiffel. If there is really no other choice maybe even C++ or C :-)
  • Tasks where a natural implementation wouldn't be a good fit. It's easier to write a declarative/logical program in Prolog. It's easier to write functional/currying code in ML. Etc.
  • Tasks where there is better support in another language. For example I'm looking for programmatic control of MSIE on Windows Ruby's WaTiR rocks (in my opinion anyway), so I'd probably use Ruby.
  • Tasks where the people I'm working with don't know Perl. If my organization or even just the development team is better at some other language then I would think long and hard before trying to get people to switch to Perl - even if I think it would be a better choice technically. It's often more pain than it's worth.
  • Tasks that are memory restricted. The environment needed to run Perl is quite large and Perl is mostly optimized for speed, not memory usage. If you can't throw more hardware at the problem some more memory efficient language would be a better choice.
  • Tasks where Perl won't run on the platform in question. For example Java runs on a lot more mobile devices than Perl does.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2021-06-19 13:35 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (92 votes). Check out past polls.