News for hackers. Stuff that matters.
Re:33rd Chaos Communication Congress Livestreams by berdario on Tuesday December 27, 2016 @12:01PM (#13264274)
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?

Re:33rd Chaos Communication Congress Livestreams by Mithaldu on Tuesday December 27, 2016 @05:53PM (#13266953)
Examples, 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.
Re:33rd Chaos Communication Congress Livestreams by berdario on Wednesday December 28, 2016 @07:09AM (#13270004)
Yeah, quite damning and sloppy on his behalf...

Thanks for pointing this stuff out!

Re:33rd Chaos Communication Congress Livestreams by fnord123 on Tuesday December 27, 2016 @02:53PM (#13265707)
Re:33rd Chaos Communication Congress Livestreams by Mithaldu on Tuesday December 27, 2016 @02:29PM (#13265512)
Problems that make it look like he has never written working Perl code without accidents intervening on his behalf. I'll get examples later.