3 ms·
> Perl6 is really a strict supserset of Perl5 in this way. How? And can you cite any sources that I can read? Thanks.
by acqq 11y ago
> Perl6 is really a strict supserset of Perl5 in this way.
How? And can you cite any sources that I can read? Thanks.
- Diederich 11y agoWell, I made a pretty grand statement there, which means it will be demonstrably wrong in at least some cases. I don't have time to find supporting sources right now, but I'll just say a couple of things, regarding Perl6 and string manipulation. Less concretely, Perl6 is still Perl. What does 'Perl' mean? "manipulexity and whipuptitude" :) To me, those things are about being highly pragmatic in as many real-life situations as possible. More concretely, even though Perl6 has an amazing type system, it's almost all optional. Use it incrementally, as it becomes more useful. Also, the tight and powerful integration between language and regex still exists. So, again, regarding string processing, these elements, to me, show that Perl6 is a 'strict supserset' of Perl5. And, without any citations, I feel like that 'strict superset' is mostly true for things other than string processing!