Sitemap

Beautiful Code or Not?

6 min readOct 3, 2026

--

AI is changing software engineering. The future belongs less to writing code and more to proving that software can be trusted.

Press enter or click to view image in full size
Source

In 1996, IBM’s Deep Blue challenged the reigning World Chess Champion, Garry Kasparov. Although Deep Blue managed to win one game during the match, Kasparov ultimately won the contest, reinforcing the belief that human intelligence still held an important advantage over computers. However, IBM continued improving the system, and less than a year later Deep Blue defeated Kasparov in a rematch.

Press enter or click to view image in full size
IBM Deep Blue by Pedro Villavicencio CC BY-SA 2.0

Many people interpreted this victory as the beginning of the end for professional chess players. Instead, chess clubs continued to grow and competitions attracted millions of viewers. Today, every elite chess player studies with computer engines that are significantly stronger than any human player, yet human judgment, creativity and strategic decision making continue to define competitive chess.

A similar pattern appeared almost twenty years later in the game of Go, and likewise the accounting profession is no stranger to these transformations, long before artificial intelligence became part of everyday conversation. Microsoft Excel, accounting software, electronic banking and payment systems did not abolish the profession. Organizations still need professionals to interpret financial information, identify fraud, understand changing regulations, advise businesses and make informed decisions. Technology automated repetitive activities, but it did not eliminate the need for people who understood the business problems those activities were intended to solve.

I believe software engineering is now approaching a similar point in its own history, knowing that programming is super repetitive.

When ChatGPT became widely available in 2023, I reacted the same way many software developers did. I was impressed by its ability to generate text, but I was also concerned about what this meant for the future of software engineering. Like many developers, I could immediately identify its weaknesses. Sometimes the generated text was inefficient or it introduced subtle issues. These observations were all correct, and they still are. However, after the initial excitement settled, I realised that many of us were focusing on the wrong question. We were asking whether AI could write code as well as humans instead of asking what software engineers should focus on if writing code became significantly easier.

Once I accepted my new reality (that I could become valueless in society), I decided to understand the technology behind it. That decision eventually led me on my journey in Artificial Intelligence that began at the University of Essex. The more I learned about machine learning, computer vision and large language models, the more my perspective changed. I no longer viewed AI as something that would replace software engineers. Instead, I began to see it as another stage in the evolution of software development, much like the introduction of compilers, integrated development environments, source control systems and cloud computing. Each of these technologies changed how software was built.

One of the arguments I hear most often from experienced developers is that AI generated code is poor quality. Usually, this argument is supported by perfectly valid examples. AI repeats itself, it ignores established architectural principles, and may introduce security vulnerabilities. Every experienced developer has encountered examples like these, and I agree that they should not be ignored. However, I also believe that these discussions sometimes hide a deeper concern. Many developers are also worrying about what AI means for their profession. I understand that concern because I experienced it myself. Fear is a natural response whenever technology changes the way we work. Throughout history, however, people who chose to understand new technology have usually benefited far more than those who spent their energy resisting it.

Get Patrick Ogbuitepu’s stories in your inbox

Join Medium for free to get updates from this writer.

As software developers, we have traditionally placed enormous emphasis on writing beautiful code. We encourage descriptive variable names, clean architecture, well organised classes, reusable components and adherence to coding standards. These principles are essential for building systems that can be maintained over many years. However, I believe we have gradually reached a point where the amount of effort we invest in discussing code quality is becoming disproportionate to the value it provides, especially when compared with another area that receives far less attention.

The reality is that software engineering has never consistently achieved perfect code quality because production systems almost always contain compromises. Business deadlines force teams to make difficult decisions, and legacy applications must continue operating.

Despite decades of discussing clean code, design patterns and software craftsmanship, vulnerabilities continue to appear in software written by some of the world’s most experienced engineers. Every year we see critical security patches, major data breaches and zero day vulnerabilities affecting products that have been developed by highly skilled teams following established engineering practices. It simply demonstrates that beautiful code alone does not guarantee correct, secure or reliable software.

At the same time, something significant has changed. The effort required to produce software has reduced dramatically. A developer who once spent an entire afternoon writing boilerplate code can now generate a working implementation within minutes. Repetitive coding tasks are increasingly handled by AI assistants. Documentation can also be generated automatically. Ironically, documentation has always been one of the areas where software projects struggle the most. Many systems contain documentation that became outdated almost immediately after it was written because the software evolved faster than the documentation. Today, AI can generate documentation within seconds, but even then, someone must still verify that what it says accurately reflects how the system behaves.

Recent industry reports support this observation. Organizations are producing software faster than they can properly review and test it. AI is increasing development speed, but verification activities are struggling to keep pace, resulting in higher rates of logical defects and security vulnerabilities in AI assisted code. The companies building the world’s most advanced AI systems are experiencing the same shift. In 2026, Anthropic revealed that more than 80% of the code merged into its production systems was written by Claude, while the amount of merged code per engineer increased by approximately eight times as engineers delegated implementation to AI and focused on reviewing the results. OpenAI is following a similar direction, with its coding agents already handling a significant proportion of internal programming work. Yet neither company suggests that programmers have become unnecessary. Instead, both demonstrate that as generating software becomes easier, human judgment, verification and research direction become increasingly important.

I believe this is where the greatest opportunity now exists for software engineers.

Before implementation begins, developers should identify the behaviours that must be verified, the data required to support those conclusions and the conditions under which the software should fail safely. If AI can generate thousands of lines of code within minutes, then developers should spend less time producing those lines and more time defining the evidence that determines whether the generated solution is acceptable.

When I refer to evidence based and data driven reproducible testing, I am describing something broader than simply increasing unit test coverage. A high quality test should clearly explain what problem is being solved, identify the expected outcome, provide representative data, include unusual and boundary conditions, and produce results that any developer can reproduce independently. Such tests become a reliable source of truth regardless of whether the implementation was written by a junior developer, a senior architect or an artificial intelligence system. They allow software to be evaluated objectively instead of relying on assumptions about the quality of the implementation.

Increasingly, our value should be measured by how accurately we define requirements, identify hidden assumptions, recognise missing scenarios and design meaningful validation processes. These activities require deep understanding of both technology and business problems, and they are significantly more difficult to automate because they depend on human judgment rather than code generation.

Interestingly, some of the companies leading artificial intelligence research appear to be moving in this direction themselves. Reports from Anthropic indicate that Claude now generates a substantial proportion of the code merged into production systems. Engineers are able to complete significantly more work than before because the effort required to produce code has reduced considerably. However, Anthropic also reports that reviewing and verifying this work has become the new bottleneck. The limiting factor is no longer typing code into an editor. It is determining whether the generated solution is correct, secure and aligned with the intended objective. OpenAI has similarly described how coding agents are becoming increasingly capable while still requiring experienced researchers to define goals, evaluate outcomes and exercise judgment over the final decisions.

The future of software engineering may therefore be less about writing beautiful code and more about producing convincing evidence. The developer who can define reproducible tests, identify meaningful datasets, anticipate failure conditions and demonstrate that a solution satisfies its requirements will become increasingly valuable regardless of who or what produced the implementation. Software has always existed to solve real world problems. Our responsibility is not simply to generate more code. Our responsibility is to provide confidence that the code can be trusted.

--

--