You're staring at code that looks like a tangled mess of spaghetti. So, how exactly do you turn that mess into clean and efficient code?