code blog
About a month ago, Jeff Atwood wrote a post describing the Internet as a “bathroom wall” for code. It was an odd analogy, but it hit home - often when Googling for a quick solution to a common problem in a particular language, one will find a pile of half-assed and/or suboptimal answers that have a high PageRank, drop them in, and quickly discover that they’ve given their app the equivalent of some gross STD.
Welcome to my bathroom wall.
I make no guarantees of the code posted here, other than that it was at some point useful to me. Most of it will lack tests, it may perform poorly under heavy load, and odds are decent it’s not a drop-in solution for your problem.
But it worked for me, and many of the problems I solve are pretty common.
Feel free to offer suggestions, corrections, or to berate me wildly. That’s half the fun of it, anyway.