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

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I still find myself reverting to Perl when I want to get something done.

Amen.

If you think about it, Perl is a horrible mess. The implementation is the definition, and although both have had a benevolent dictator drawing guidelines, there's layers of fixes on fixes in both the language and the implementation. The documentation is full of exceptions to the rules it tries to describe. The core language is quite huge, even if you don't have to know all of it, and the built-in function list makes many programmers of other programming languages shudder.

Yet the reason it is effective in solving various practical problems is precisely because solutions to practical problems have been made easy. If you want to find all strings matching certain description, just write the description as a regular expression and use it. No need to load libraries or fight with baroque syntax. If you want to loop over all lines in a text file, just use the diamond operator. Although this isn't part of the language implementation, if you don't want to solve a problem again, download a module for CPAN.

Perl is not pretty, but it's the best tool I know of. If I were a driver or operating system programmer, I would probably make similar arguments in favour of C (which is not a nice programming language but also gets the job done).

--
print "Just Another Perl Adept\n";


In reply to Re^2: I think Perl ruined me as a programmer by vrk
in thread I think Perl ruined me as a programmer by Petras

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 scrutinizing the Monastery: (3)
As of 2024-03-29 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found