3 ms·
I watched both of his talks, but I've never heard before about this "code on the slide was not valid Perl" complaint. You're not talking about a small typo, ar
by berdario 10y ago
I watched both of his talks, but I've never heard before about this "code on the slide was not valid Perl" complaint.
You're not talking about a small typo, are you?
Can you point to the wrong examples/slides?
- Mithaldu 10y agoProblems that make it look like he has never written working Perl code without accidents intervening on his behalf. I'll get examples later.
- fnord123 10y agohttp://blogs.perl.org/users/joel_berger/2015/12/response-to-the-perl-jam-2.html http://blogs.perl.org/users/joel_berger/2015/12/response-to-...
- Mithaldu 10y agoExamples, with explanation of wrong in comment. First talk: print $hash; # he accompanied this by a dump of the hash, when in reality it would print the reference id print ($a, $b, $c); # same thing as above, pretends it does a dump, when the reality is wildly different He does these repeatedly in his second talk: $arg1, $arg2 = @_; # assigns the length of @_ to $arg2, instead of unpacking args. only the newest of newbies would get this wrong if(ref $arg1 eq 'HASH') print $arg1{'key'}; # perl does not have block-less pre-fixed ifs else print $arg1; # same with this, entirely nonsense The entire style of his code (paren-usage, quoted hash keys) also smells of code copied from bad (w3schools) perl tutorials.
- berdario 10y agoYeah, quite damning and sloppy on his behalf... Thanks for pointing this stuff out!