3 ms·
I do wish he had mentioned the smart match operator ~~ as it nearly eliminates the confusion between EQ and ==. Of course, if you're dealing with legacy code, t
by mellery451 15y ago
I do wish he had mentioned the smart match operator ~~ as it nearly eliminates the confusion between EQ and ==. Of course, if you're dealing with legacy code, then you still need to understand both (or all three), but new coders might be well advised to start with smart match.
- grout 15y agoSmart match is undergoing revision because, frankly, it's too smart. I don't mind that he left it out, and I'm one of the core devs.
- mjd 15y ago"Smart" match is a pile of shit, and anyone reading the manual description for it should conclude the same. You can't know what it does unless you can remember the details of a 23-item table. It's undergoing major revision, and not a minute too soon.
- koenigdavidmj 15y agoIs it that bad in Perl 6 too?
- chromatic 15y agoNo, because Perl 6 has a coherent type system.