The math of a startup practice is simple for law firms: Get some emerging company clients, help them get funded and hope that some of them hit it big so they can be paying legal fees for a long time.

But every good Silicon Valley lawyer knows that success in the practice is more like gambling than simple math. It depends on making the right bets on the right companies with the right people.