7 min
Logic in templates
A category page was slow and it turned out to be six lines I had copied into a template months earlier, which is how I found out I'd been writing a language I kept telling people I don't write.
3 posts filed under PHP, newest first.
A category page was slow and it turned out to be six lines I had copied into a template months earlier, which is how I found out I'd been writing a language I kept telling people I don't write.
A 10-minute ticket ate most of a day because there were four copies of the template on disk and I kept picking the wrong ones.
The ugliest 40 lines in the store I took over are wrapped in a comment telling me not to change them, and the email that comment points at stopped existing years ago.