4 ms·
The quoted bit at the end makes me a bit sad: > That’s why I devoted two decades of my life to helping ensure that Perl 6 lets you solve problems in whatever (
by Jach 7y ago
The quoted bit at the end makes me a bit sad:
> That’s why I devoted two decades of my life to helping ensure that Perl 6 lets you solve problems in whatever (reasonable) way that suits you…and suits your problem! By all means solve the majority of your problem functionally, but implement the inherently stateful parts of your program with objects, and handle the intrinsically linguistic components with declarative grammars. But do it all in the same language and at whatever granularity you are most comfortable with.
Why? This could just as well describe Common Lisp. Sure depending on the exact expressiveness you want you'll have to bootstrap it with some paren-containing bits, but I suspect you wouldn't need 20 years to do it, and there's a lot there already...
Perl 6 has long been my "desert island" language. That is, if I'm going to be stranded on a desert island with certain death in the near future, I'd get the most kicks in the time left out of discovering all of Perl 6's secrets and quirks. I don't think I'll ever use it seriously though... I would like if its built-in grammars system spread to other languages like PCREs did but that doesn't seem likely.