Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
One more reason why learning new languages is important:

It gives you another perspective.

When solving computer problem, it is important to distinguish which issues are inherent to problem being solved, which are part of method (algorithm) used, and which are inherent to used language.

Sometimes we are tempted to use constructions which look elegant in selected language, without thinking if they are relevant or appropriate to a problem. Or, sometimes idioms good for one language are used in other language (C++like for in perl: for ($i; $i<=$#array, $i++) instead of: foreach $i (@array), and worse).

In other words, to be able to think about using proper tool for the problem, we need to distinguish what is a tool and what is a problem.

Learning new languages gives you this perspective - and understanding that there is no perfect tool. Not even perl is perfect. (downvotes coming...) Then you can really start to appreciate decent tool for rather wide range of problems, as perl is - and you have better feeling what you are talking about.

And you can also decide, where perl is not a good tool for a job, and why.

When you know only one (programming) language, you are like a person looking to his first sunset: sure colors are different than during the day, but is this the real thing, or just hurricane coming my way?

pmas
To make errors is human. But to make million errors per second, you need a computer.


In reply to Re: Does Knowing Perl Help or Hinder Learning another Language by pmas
in thread Does Knowing Perl Help or Hinder Learning another Language by dru145

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2022-06-28 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (90 votes). Check out past polls.

    Notices?