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

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Perl came to me a bit accidentally. I started off as a C programmer, ending up doing about 10 years of C and 4 of C++ before really digging into Perl. Along the way -- around the time I was about 6 years into C -- a coworker started going on about Perl. This was around the time of Perl 4. I took a look but wasn't really interested. Most of the work I did required C; for everything else I had a pretty good base of shell/sed/awk type scripts that did just fine. I didn't see much point in learning Perl at that point. Over the next 6-7 years I debugged some Perl but never really dug in. I was then hired into a job where I was presumably going to do a lot of Java. That was another language I had only played with really, but my C++ background gave me a foot in the door. The Java based web back-end code I was supposed to start on didn't exist yet though. In the meantime, my boss started throwing data munging tasks at me. Some of these were already started in Perl so I bit the bullet and finally learned it. After a few months of "just scripting" I started to build packages, dug into the OO side and never looked back. I've remained in the data munging/mapping area and Perl fits here really well. I also end up writing lots of "glue" pieces to hold the rest of the system together. The bulk of the system is Java but we coexist pretty peacefully -- I think each side sees the the other's strengths and weaknesses.

Interesting observation here: Back around my first look during the Perl 4 era, a few coworkers and I saw things we thought were inconsistent and sometimes just obscure. It wasn't until I read The Camel a few times (never as a straight read, but just hitting sections as needed) that I was enlightened. I think to really understand some of the things that confuse a lot of people, you have to understand some of the language internals. On the surface it's a lot like C or shell, but under the covers you find some Lisp-ish type features most people aren't usually exposed to in their day to day coding lives. There is, IMO, a tendency today towards languages of one ilk -- the C/C++/Java path, for example. Perl diverges in some key areas. That gives it power but (again IMO) it also makes it hard for a lot of people to get their arms around.

If you've never read this Paul Graham piece about Lisp I think it has some quite good points regarding choice of programming language.


In reply to Re: Why I learn a language. by steves
in thread Why I learn a language. by blackstarr

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 contemplating the Monastery: (3)
As of 2022-08-16 01:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?