Time spent on grocery shopping, washing dishes, etc. are only opportunity costs, they only cost money if you were to otherwise use that specific time generating income.
Which means: cooking is probably the most effective way to use programming skills for romance :)