Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
With all due respect, gildir, I think you might be missing the point.

I work as a programmer and have used many, many languages in my various jobs: C/C++, ksh, perl, Objective C, awk, Java, PL/SQL, and on and on and on. And on.

Perl is one of the tools in my toolbox. Granted, it's my favorite tool, and often the best tool. However, it is not the best tool in every case. I like Java because it lets me write code in OS X that can be used anywhere. I like Objective C because it is what C++ should be. C and C++ are great because the compiled code will run so quickly without the source code being as grungy as assembler. Yesterday, in a shell script that I inherited, I used sed for a 's///g' in a long string of pipes.

Now, having said that, I have to emphasize that my instinct is to reach for Perl. A lot of what I do is parsing text; enough said. Oneof the nice things about Perl is that it is object oriented, but it doesn't have to be. I write a lot of quickie scripts that just need to work, so forcing OO would be like tying a school bus to the back of a horsecart.

A Perl geek may not be pushed to OO. This is not necessarily a bad thing, as a lot of us would consider it a dashed liberty if we were. However, it is there if we need it, and it can provide a good introduction to OO. To me, that is one of the beautiful things about Perl. The decision is left to the programmer, so we can adapt to the situation.

(Puts soapbox away, crawls back into hole.)

--
tbone1
Ain't enough 'O's in 'stoopid' to describe that guy.
- Dave "the King" Wilson


In reply to Re: Make Perl an OO language by tbone1
in thread Make Perl an OO language by gildir

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 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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-24 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found