Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Brother Frankus,
Thank you for provoking a thoughtful discussion on an interesting subject and all the other contributers to this discussion for equally interesting replies.

Concerning your question on objects being different, perhaps it is due to the way that OOP is taught. One always reads about a considerable amount of rigour in how an object should be created, public and private data, methods, encapsulation and on and on. Then you have the whole issue of creating beastiaries of objects, how they play together, etc. It starts to feel like Latin with all the rigour with which verb are tensed and objects are declined. But when spoken or composed by a fluent speaker, it can be magical.

Then you have English, a ne'er do well language consisting of parts of several languages and newly created bits when folk feel like it. Grammar is considerably looser (certainly in the Rocky Mountain regions) and you can make your point even by fracturing your sentences to near intelligability. But again, it can be very powerful when used fluently.

I have often thought the OOP is the new Latin and Perl as Modern English. I suspect the speed with which we abuse Perl as compared to objects is similar - Perl is perhaps more easily bent to a users will than the seemingly more rigourous OOP. Perl was designed to reflect natural languages, after all (unless I have misread the Camel book yet again). Rigour of form tends to make folk stick to the rules that they have spent a good deal of time learning and then (over)zealously apply them to how the language should be spoken. Perhaps this tends to stop folk from thinking as an English style hacker and more as Latin style formalist.

Just a thought.

MadraghRua
yet another biologist hacking perl....


In reply to Re: Re: Re: Hacking with objects by MadraghRua
in thread Hacking with objects by frankus

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 rifling through the Monastery: (6)
As of 2024-04-18 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found