• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia

Trendingnow

1

Shark Tank's Kevin O'Leary says if he were 25 today, he'd chase these two booming opportunities in the world of AI

2

The stock market is about to suffer a 'snapback' and will lose much of this year's gains as 'speculation is hitting extreme levels,' BofA warns

3

Even as Elon Musk calls philanthropy ‘very hard,’ everyday Americans gave a record $617 billion—despite feeling the squeeze over the cost of living

1

Shark Tank's Kevin O'Leary says if he were 25 today, he'd chase these two booming opportunities in the world of AI

2

The stock market is about to suffer a 'snapback' and will lose much of this year's gains as 'speculation is hitting extreme levels,' BofA warns

3

Even as Elon Musk calls philanthropy ‘very hard,’ everyday Americans gave a record $617 billion—despite feeling the squeeze over the cost of living
CommentaryAI

Peter Thiel-backed entrepreneur says DOGE should use AI to ‘refactor’ the U.S. legal system

By
Aron Ping D’Souza
Aron Ping D’Souza
Down Arrow Button Icon
By
Aron Ping D’Souza
Aron Ping D’Souza
Down Arrow Button Icon
December 4, 2024, 6:53 AM ET
Aron Ping D’Souza, PhD, is the president of the Enhanced Games.
GenAI can analyze billions of words in court proceedings, legal filings, and administrative rulings.
GenAI can analyze billions of words in court proceedings, legal filings, and administrative rulings.Getty Images
Add Fortune on Google for similar content.

The United States Code of Federal Regulations, towering at over 145 million words, represents one of the most complex and unwieldy legal systems in human history. However, like poorly maintained software, this vast corpus of legal architecture has become bloated with redundancy, obsolescence, and provisions that are no longer relevant or invoked.

The solution? A sweeping overhaul of the U.S. legal system, leveraging the unprecedented capabilities of artificial intelligence. Today, with the creation of the Department of Government Efficiency (DOGE), America has a chance to “refactor” its code base.

Refactoring is a term well-known in software engineering. It refers to the process of restructuring existing computer code to make it cleaner, more efficient, and easier to understand—all without altering its essential functionality. Applying this concept to America’s legal framework would revolutionize governance. AI can identify “dead code” by analyzing billions of words of court proceedings, legal filings, and administrative rulings to determine which statutes and regulations are never cited or applied in practice.

This approach isn’t about politics—it’s about data. Unlike ideologically charged regulatory overhauls, AI operates apolitically as it works through computation. If a law hasn’t been cited in decades or lacks relevance in modern governance, it can be marked for deprecation, much like unused functions in a software library.

The explosion of legal data, coupled with advances in natural language processing (NLP) and large language models, makes this approach feasible for the first time. Court transcripts, appellate opinions, and agency rulings generate billions of words annually. AI can now cross-reference this information to identify statutory relics of a bygone era.

Imagine the impact. The average small business spends over 80 hours annually on federal compliance. Citizens and corporations alike struggle with overlapping, outdated laws. Streamlining statutes would reduce regulatory burdens and enhance clarity.

Critics might argue that such a proposal risks throwing out the proverbial baby with the bathwater. What if a law is dormant but still relevant? AI cannot operate in a vacuum; it must work in tandem with legal scholars, lawmakers, and practitioners who understand context. Refactoring is not deletion—it’s an iterative process. Flagged provisions would undergo review, ensuring essential laws remain intact.

Others may worry about entrusting this process to machines. But humans have long been overwhelmed by the scale of the U.S. Code. Every administration promises to cut red tape; few deliver results. The task is simply too vast. AI offers a way forward, not as a policymaker, but as a tool for managing complexity at a scale beyond human capacity.

The private sector is already there. Companies routinely use AI to manage sprawling corporate policies and compliance requirements. Software engineers deploy refactoring tools to keep codebases lean. If these principles work for Fortune 500 companies, why not apply them to the U.S. government?

America’s legal infrastructure is critical to its economic and social stability. But like any aging system, it needs maintenance. Refactoring the U.S. Code of Federal Regulations is not just an exercise in efficiency—it’s a moral imperative to ensure that the law remains accessible, functional, and relevant in the 21st century. The question is not whether we can afford to modernize—it’s whether we can afford not to.

More must-read commentary published by Fortune:

  • The ‘Trump bump’ has survived tariff announcements—but will it survive the good, the bad, and the unknown in his cabinet?
  • Demis Hassabis-James Manyika: AI will help us understand the very fabric of reality
  • I worked with Steve Jobs. Here’s what he’d say about today’s leadership style
  • The real reason Spain’s economy is bucking the trend of European decline

The opinions expressed in Fortune.com commentary pieces are solely the views of their authors and do not necessarily reflect the opinions and beliefs of Fortune.

About the Author
By Aron Ping D’Souza
See full bioRight Arrow Button Icon
Add Fortune on Google for similar content.

Latest in Commentary

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Fortune Secondary Logo
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • World's Most Admired Companies
  • See All Rankings
  • Lists Calendar
Sections
  • Finance
  • Fortune Crypto
  • Features
  • Leadership
  • Health
  • Commentary
  • Success
  • Retail
  • Mpw
  • Tech
  • Lifestyle
  • CEO Initiative
  • Asia
  • Politics
  • Conferences
  • Europe
  • Newsletters
  • Personal Finance
  • Environment
  • Magazine
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
  • Group Subscriptions
About Us
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in Commentary

t
CommentaryParenting
Babylist CEO: The Trump Accounts gold rush is overlooking moms
By Natalie GordonJuly 6, 2026
2 hours ago
e
CommentaryCorporate Governance
SpaceX’s supervoting shares put a decades-old governance debate back in play
By Jeffrey Sonnenfeld and Steven TianJuly 6, 2026
4 hours ago
katie
CommentaryData centers
Katie McGinty: The energy economy’s biggest waste problem is already inside the system
By Kathleen “Katie” McGintyJuly 6, 2026
11 hours ago
cc
CommentaryEducation
Former Trump official: Washington finally let Pell Grants pay for welding school, then buried the idea in 85 pages of red tape
By Caroline CasagrandeJuly 6, 2026
12 hours ago
k
CommentaryBox office
How Hollywood’s youngest filmmakers are exposing Gen Z’s real problem with AI
By Reid LitmanJuly 5, 2026
1 day ago
k
Commentary250 Years of Innovation
Media leadership unity in defying Trump’s assault on free speech: standing tall against historic comparisons
By Jeffrey Sonnenfeld, Jeff Bewkes, Kay Koplovitz, Tom Glocer and Marvin KalbJuly 4, 2026
2 days ago

Most Popular

Shark Tank's Kevin O'Leary says if he were 25 today, he'd chase these two booming opportunities in the world of AI
AI
Shark Tank's Kevin O'Leary says if he were 25 today, he'd chase these two booming opportunities in the world of AI
By Marco Quiroz-GutierrezJuly 5, 2026
1 day ago
The stock market is about to suffer a 'snapback' and will lose much of this year's gains as 'speculation is hitting extreme levels,' BofA warns
Investing
The stock market is about to suffer a 'snapback' and will lose much of this year's gains as 'speculation is hitting extreme levels,' BofA warns
By Jason MaJuly 5, 2026
1 day ago
Even as Elon Musk calls philanthropy ‘very hard,’ everyday Americans gave a record $617 billion—despite feeling the squeeze over the cost of living
Success
Even as Elon Musk calls philanthropy ‘very hard,’ everyday Americans gave a record $617 billion—despite feeling the squeeze over the cost of living
By Preston ForeJuly 4, 2026
3 days ago
Egg companies made $1.22 billion in profit off a $6 carton — now they’re buying their way out of a price-fixing case with 53 million donated eggs
Law
Egg companies made $1.22 billion in profit off a $6 carton — now they’re buying their way out of a price-fixing case with 53 million donated eggs
By Wyatte Grantham-Philips and The Associated PressJuly 2, 2026
4 days ago
Gen Z was 'jaded about employment before we ever entered the workforce'—now psychologists say the stare has hardened into something worse
Economy
Gen Z was 'jaded about employment before we ever entered the workforce'—now psychologists say the stare has hardened into something worse
By Nick LichtenbergJuly 6, 2026
14 hours ago
Meet the Zillennials: The luckiest micro-generation in the workforce, born between 1993 and 1998
AI
Meet the Zillennials: The luckiest micro-generation in the workforce, born between 1993 and 1998
By Nick LichtenbergJuly 3, 2026
4 days ago

© 2026 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.