The Long Perl 6 Super-Feature List




When it comes to embracing "embrace and extend", Perl 6 is exceptionally promiscuous in selectively borrowing from other languages (and Perl 6 is very tenacious about refining and generalizing their best ideas). Here is a brief :-) summary of some notable Perl 6 features, starting from a somewhat shorter list in another FAQ, plus a variety of additions and extensions.

((To-do wish list: It would be nice to have perhaps 3 sub-bullets for each feature giving: (1) a very brief description of it, (2) a very brief explanation of its advantages, and (3) maybe 2 or 3 minimalist examples of it. (4) relevant Perl 5 module or feature that is similar. Or maybe just link to topics about each item instead?))

Subroutines, Parameters, and Typing

OO

Regexes (now Grammars)

Power Features from Functional Languages and Elsewhere

Things we have in Perl 5 which will just be better in Perl 6

Other

(feel free to break this down into other headings)

Holy freaking cow! How can most mere-mortals contend with all this stuff? Well, the good news is that you most likely won't ever need to know (or use) much of this stuff. You can learn and use a moderate and comfortable subset of Perl 6 that meets your typical needs. However these features provide an extremely powerful toolkit for experts to produce modules and other tools that you can use (without you needing to know about their internal wiring and plumbing). Perhaps counterintuitively, many of these features will make Perl 6 substantially easier and simpler than Perl 5 for more advanced applications (once you get used to it). Many of these features will also help "future-proof" Perl 6 by providing many means of incorporating new extensions.

As you can see, Perl 6 thus takes the powerful evolutionary advantages of "hybrid vigor" to new extremes. First there was "extreme programming", now we have Perl 6, "the first extreme programming language". If you think our many friends, including {Ruby, Python, Smalltalk, Lisp, Haskell, and others}, are generally more {cool, powerful, productive, and fun} than {C, C++, Java, C#}, then you'll likely recognize Perl 6 as the new "top of the food tool chain" for practical high-powered fun.