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
| [reply] |
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.
| [reply] [d/l] [select] |
| [reply] |
Thanks for the link to jnthn's talk! Dunno how I missed that. There should be a link to it on perl6.org/documentation, IMO.
BTW, noticed what looks like a 2 typos:
- page 25: no closing single-quote mark at the end
- page 58: after "destination" there's a '>' and then a small closing french quote mark.
| [reply] |
perl6 的目的是为了更好的方便使用,仅此而已,语法糖只是个表面。
| [reply] |
你的担心是多余的,据我所知,perl6 只是把perl5 能做到的的变的更简单,把perl5不能做到的变的可以做到。
| [reply] |