Mechanical engineers invent new products, while computer programmers use electronic languages to write new software. You'll need varying levels of education to enter either field, though the skills sets, pay and job outlook are all similar.