Should you spend planning a commit before writing code?