Cooking (manually) takes skill (let's say that's a one-time thing you need to have acquired in the past) and then it needs time (repeatedly).
The outcome (food) is a temporary benefit.
Software meanwhile, in general, is written once in order to solve a problem at all, or make a task easier/more repeatable. The software is the cook, so to speak.
A more apt comparison would be to craft a cooking tool that makes your work easier, or possible at all. (e.g a pot)