3 ms·
Hey you have some nice projects and by far the cleanest Perl code I've ever seen! I wonder what you think about Perl 6, as that's a language I'm kind-of partia
by gkya 9y ago
Hey you have some nice projects and by far the cleanest Perl code I've ever seen! I wonder what you think about Perl 6, as that's a language I'm kind-of partial to, but the learning curve seem to be a bit too curvy?
- stevekemp 9y agoThanks! Perl 6 I've genuinely never looked at, my feeling is that it is still very much a work-in-progress. When it is out "for real" I'll look, but I get the impression switching from Perl5 -> Perl6 is probably comparable to switching to golang, or similar.
- dugword 9y agoI'm a huge fan of Perl, and I've been playing around with Perl 6. The transition had been pretty smooth, and other than a few minor syntax changes (e.g. "." for method calls instead of "->") it feels the same. Having said that, there is a lot more to Perl 6 than what comes baked into Perl 5. The transition is a lot more like C to C++, where you could just use a C subset and be immediately productive. Perl 6 has given me basically all the things I wanted changed in Perl 5 (function signatures, everything is an object, built in REPL) plus a whole bunch of stuff I didn't know I wanted but now love (gradual typing, crazy powerful type system, amazing out of box CLI argument parsing). With Inline::Perl5 you also have access to all of CPAN. Performance isn't quite there yet, but for the stuff I use it for (one off scripts, reports, personal CLI tools) it's been great.