Working for the customer is designing a new graph search algorithm that speeds up formula propagation in Excel by 10%. Working for yourself is designing a new graph search algorithm that’s really cool and gets published in top journals and conferences.
Source: worked at MSR