@regehr a good friend of mine had to maintain some #perl scripts. He calls them "write-only".
I have a growing list of #regexp and #sql select queries, which need sub- and sub-sub-queries (and so on). Those really make sense when I write them, but are hard to figure out after a week working on different code.