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

Re^2: In praise of Perl's object system.

by xiaoyafeng (Deacon)
on Sep 17, 2010 at 04:13 UTC ( [id://860433]=note: print w/replies, xml ) Need Help??


in reply to Re: In praise of Perl's object system.
in thread In praise of Perl's object system.

Well, IMHO perl6 OO system is absolute much better than perl5. Nevertheless, what I worry about is perl6 is becoming a language but not a powerful tool language like perl5 does.

What does powerful tool mean? people who use it can spend seconds to resolve the problem. He doesn't care about model, inherit and such. I hope perl6 doesn't need to sacrifice sys admin to becoming a true OO language.





I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

  • Comment on Re^2: In praise of Perl's object system.

Replies are listed 'Best First'.
Re^3: In praise of Perl's object system.
by moritz (Cardinal) on Sep 17, 2010 at 07:05 UTC
    Just to be clear, I was talking about the Perl 5 object system, just as DStaal did.

    Now regarding your concerns, is there any reason to believe we are sacrificing usability for the average sysadmin?

    And would you care to explain the difference between a "language" and a "tool language"? I see a programming language as a tool to build programs with, so that distinction doesn't seem to make sense to me.

    Perl 6 - links to (nearly) everything that is Perl 6.

      A little OT, sorry for any inconvenience.

      And would you care to explain the difference between a "language" and a "tool language"? I see a programming language as a tool to build programs with,

      What is a tool language? I think it should be meet below three demands(suggestions are welcome ;)):

      • get things done quickly.
      • easy/not strict grammar.
      • powerful ability to control system.
      Tool language is for system admin, DBA, or such else. Because they are a special part in IT circle. they maintain a system or a program which they don't know deeply. They are not programmer; They won't be interested in inherit, delegation or something else; all they concern are whether is a easy-used hammer to mend the system fast. That is why they like perl5,awk but not java, C++. Okay, as I mentioned before, perl6 OO is great, but it, I mean OO, is meaningless to the script less than 300 lines.

      Again, I don't say perl6 is not good, I just say perl6 is too like a regular language or say language for teaching. I hope to see perl6 can provide a way to those people are not received formal programming training.





      I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

        I see what your concern is, and it's one I don't share at all.

        Just because Perl 6 is a fundamentally object oriented language doesn't mean you have to write classes to use it. Hello World is still just say "Hello World", and not class Hello { public static void main(Array args) { system.out.println("Hello, World"); } }.

        In fact Perl 6 can be used quite well as an imperative or even functional language, and most of day to day Perl 6 usage is small, one-off scripts.

        I can recommend jnthn's talk Perl 6: For Little Tools and Large Applications.

        Perl 6 - links to (nearly) everything that is Perl 6.
        perl6 的目的是为了更好的方便使用,仅此而已,语法糖只是个表面。
        你的担心是多余的,据我所知,perl6 只是把perl5 能做到的的变的更简单,把perl5不能做到的变的可以做到。

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://860433]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-25 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found