There are times when I have written code that looks insane when I step back from it. It is during those times where I might need a sanity check. So, is asking for a sanity check allowed?
For example, I have two
for loops iterating over the same list to create two arrays. Is it sane to keep the loops separate, or should I merge them into one loop?
Sanity checks are for code that works but may look weird or strange to the author. Sometimes an author may just need a virtual hug.