|Syntactic Confectionery Delight|
Re^2: Perl 6 and performanceby kikuchiyo (Monk)
|on Feb 09, 2012 at 19:32 UTC||Need Help??|
Thank you for the detailed answer. It indeed makes the cause of the problem clear.
For me, it's more natural to write a floating point constant one as 1.0, however, that doesn't work. And this won't even run:
I've also tried to explicitly declare the loop variable as a floating point:
This has no effect, as can be seen from the following:
Does this mean that even though I declare $i as a Num, it's still an integer when used as a loop variable? Is it because the .. operator supplies integers?
P.S. I'm sad to see that perlmonks is slowly becoming more like reddit, where problems are met with rancorousness instead of being discussed on a technical level.
I admit that I posed the original question in a slightly more trollish way than necessary, and I apologize for the inconvenience I might have created. I didn't intend to denigrate the effort of the Perl 6 developers - an effort which is nothing short of heroic.
However, I do think that the problems with the current state of Perl 6 go way beyond the technical level, and pretending that these problems can be treated at the mere technical level is an attitude that does more harm than good on the long term.