If there's no salary or equity being offered, the company wouldn't be able to sign a binding contract with the programmer, since they'd be offering them nothing in return for their work (no "consideration"[1]). Thus, there would be no "work for hire" agreement, and the programmer, not the startup, would own all the intellectual property they created.<p>Also, if it's a for-profit business, paying zero salary for useful work would be violating federal and state minimum wage laws (in the U.S.).<p>[1] <a href="https://en.wikipedia.org/wiki/Consideration" rel="nofollow">https://en.wikipedia.org/wiki/Consideration</a>