Tag: code

  • How Well Can You Read Documentation?

    (I was going to call this post “How well do you understand context?” but I think this title is more accurate). I just saw someone recommending this code: $reversed = reverse(split //, $string); Looks sensible enough, doesn’t it? But it isn’t. What’s the hidden inefficiency?

  • Testing Syntax Highlighting

    Right. I think I might have got this cracked now. Here’s some Perl code. #!/usr/bin/perl use strict; use warnings; print “Hello World\n”; That’s pretty cool, isn’t it. I wonder what it’ll look like in the web feed. I’ll try to feed my fixes back to the author of the plugin.