Re:Ask HN: Perl 6: Do you use it, how do you like it, what d...
by marvy on Monday February 06, 2017 @11:50AM
(#13581293)
As someone who knows neither version, I find this surprising. Surely, even if none of your code works, switching from Perl 5 to Perl 6 is much less of a "culture shock" than switching to, say, Ruby or Python?
[ Parent
| on HN ]
Re:Ask HN: Perl 6: Do you use it, how do you like it, what d...
by v64 on Monday February 06, 2017 @12:37PM
(#13581850)
As someone who still occasionally has to write Perl 5 for a living, Perl 6 really is a new language. And because Perl 6 isn't as mainstream as Ruby or Python, there is a bigger culture shock when trying to find resources or figure out the "right way" to do things (I know, I know, There Is More Than One Day To Do It). There are big changes to the syntax too that make it feel like less of a successor and more of a new language inspired by an old one.
Re:Ask HN: Perl 6: Do you use it, how do you like it, what d...
by marvy on Monday February 06, 2017 @02:54PM
(#13583248)
Wow, that big a change? Then maybe they should have changed the name after all. Purl?
Re:Ask HN: Perl 6: Do you use it, how do you like it, what d...
by v64 on Monday February 06, 2017 @02:48PM
(#13583197)
s/One Day/One Way/
Re:Ask HN: Perl 6: Do you use it, how do you like it, what d...
by cestith on Monday February 06, 2017 @05:08PM
(#13584700)
Switching from Perl5 to Perl6 isn't completely shocking, but it's not just copying code over to a new project either. Programming in Perl6 back to back with programming in Perl5 indeed feels quite a bit like switching back and forth between Perl5 and Ruby. Everything's similar enough that you have to mind the differences. It's a much different feeling than going back and forth between C and JavaScript or between Forth and Pascal where the syntaxes are so different you'd never try the other way to do something for just a couple of lines.
Re:Ask HN: Perl 6: Do you use it, how do you like it, what d...
by ribasushi on Monday February 06, 2017 @12:14PM
(#13581582)
That's the thing - what OP said is exactly the case. Perl5 is an order of magnitude closer to ES6 than it is to Rakudo.