I like to say:
- One hour of planning saves ten hours or programming...
- and one hour of research saves ten hours of planning.
You can also invert it:
- Ten hours of programming saves one hour of planning...
- and ten hours of planning saves one hour of research.