New word for the day: maso-coding.
It's writing code that's going to cause yourself pain in the future.
Things like obscure regular expressions, pointer hackery or complicated tertiary operators, that you're really going to have to work to understand ever again.