I would argue that well-taught geometry and such will make learning programming muuuch easier. Linear algebra has a lot of concepts that translate quite neatly to programming. Set theory, functions, etc. Formal logic is also a great asset for understanding branching logic.<p>Then again, learning how to program probably also makes learning those concepts easier too, as it goes both ways...