Not entirely true. He could void the contract, but then he'd have to turn over any profits made to the guy he bought the code from (unjust enrichment/quasi-contract).
Just because there isn't a remedy under the contract doesn't mean there isn't a remedy at equity. Usually, the equitable remedy is worse (from the minor's point of view) than the contractual remedy, b/c the equitable remedy is not limited to losses/gains/terms under the contract -- it is limited only by what the court deems is "fair".
Just because there isn't a remedy under the contract doesn't mean there isn't a remedy at equity. Usually, the equitable remedy is worse (from the minor's point of view) than the contractual remedy, b/c the equitable remedy is not limited to losses/gains/terms under the contract -- it is limited only by what the court deems is "fair".