Never leave an unfinished function behind
This is my new coding mantra. Never ever leave unfinished, incomplete, buggy function behind. The chances are, you are going to forget about it and soon enough it becomes a PITA bug to track down.
Once you start writing a function, you must finish it at all cost. Yes, you can feed your cat later. [...]