We need to treat the software undergirding scientific research as a public good—and make investments accordingly.