News for hackers. Stuff that matters.
Re:Ask HN: Is my code any good? by andrey-p on Sunday May 03, 2015 @05:37AM (#9480643)
Besides unit testing, with regexes I always put a quick comment like "matches foo but not bar or baz" which might not be comprehensive but allows the next person to get a quick understanding of what the code does at a glance.

There are no comments on this comment yet.