Not exactly programming, but still pretty descriptive of my mindset when I approach a new problem: A physicist, a mathematician, and an engineer were asked to establish the volume of a metal sphere. The physicist immersed it in a beaker full of water and measured the volume of the displaced fluid. The mathematician measured the diameter and calculated the volume as a triple integral. The engineer went to the vendor's website and found the spec sheet.