A new law requires US agencies to share custom-developed source code with each other to prevent duplicative software development contracts. The law aims to reduce the estimated $12 billion spent on software purchases each year. Agencies will have to publicly list custom code and share it with other agencies, unless it's classified or poses a privacy risk. The law applies to all federal agencies, with some exceptions.