DEV Community

Cover image for Is GitHub Copilot a Threat to Developers? (Spoiler: It’s Not
Antoine Veuiller
Antoine Veuiller

Posted on • Originally published at aveuiller.github.io

Is GitHub Copilot a Threat to Developers? (Spoiler: It’s Not

Computer science provides more and more abstraction layers with time, to the point that we don’t really know what’s running underneath.

GitHub recently released Copilot in technical preview. Copilot is an AI-based assistant that will automatically generate code from the context of your application, with the aim of easing software development.

A question that arises with simplification and automation in computer science is generally “will the developer still be needed?”. And every time it happened, the answer was “yes”. Abstraction in computer science reduces the cost of entering the domain, thus attracts a larger population. But it also usually creates opportunities with new technologies, practices, and more complex systems.

This short article aims to summarize the evolution of abstraction layers in computer science to help understand the impact that GitHub Copilot may have.

A Bit of History

The example that seems the oldest and most sensible would be the Turing Machine. It was created with the specific idea to break the cryptographic code Enigma, but the concepts behind it are now considered as a ground reference of algorithmic capabilities for programming languages.

Since then, we created processors, able to take a random set of instructions and process them generically. Those instructions were originally described using machine code, which is hard to manipulate for a human. This is why programming languages of higher abstraction appeared.

Generally speaking, we can describe the goal of a programming language as to write human-readable specifications that can be converted into machine code.

Evolution of Programming

Programming languages evolved from low (abstraction) level languages to higher levels, each iteration adding automation and helpers to the common operations. Those abstractions can take many forms, from garbage collection to libraries reading CSV files.

 These evolutions enable developers to add more complexity to their software, as there is less complexity on the technical parts. They can in turn abstract away even more for others. Thanks to this, taking on programming is becoming easier with time. We even see some programming languages using almost natural languages (e.g. Gherkin) and requiring next to zero computer science knowledge to write.

This does not mean that people will stop using languages with lower abstraction levels. On the contrary, even if they are generally harder to master and more verbose, they can be way more flexible for some use cases, memory management for instance. 

We can also note the appearance of Machine Learning, creating dynamic processes over data that would have been tedious to analyse, either by hand or through specific code. This enables writing potentially complex behaviours with a few lines of code in some cases. Even then, there is some automation of it to the point where you only have to provide data to get working results.

That being said, having a minimum of knowledge on the layers underneath remains very important to really comprehend the code execution. Otherwise, it would be difficult to adapt to issues that may, and will, arise.

Evolution of Infrastructure

We talked about code, but the same kind of evolution happened on the servers too. At first, companies were starting on personal computers until they could get a hold of some space in a datacenter, renting one or more baremetal servers. This was costly and required technical knowledge for both the installation and deployment processes.

The virtualization technology evolved to the point where you can now rent a virtual machine hosted on a physical host anywhere through cloud providers. This tremendously reduces the costs and enhances accessibility, but still requires technical knowledge to administrate correctly the machine on top of the deployments pipelines.

Since more recently, the technology of containerization is heavily used with powerful tools like Docker and Kubernetes. Those tools can help you deploy applications on a VM without necessarily mastering the system underneath*. In the same fashion as machine learning, there are projects aiming to further reduce the knowledge required to use such technologies.

On top of that, a new abstraction layer called serverless is emerging. This enables you to directly execute code on a remote container, without having to take care of the hosting problematics at all. While this is currently mostly used for stateless operations, there are no doubts about the growth of use cases and tools around this ecosystem.

*Note: Those tools may be better used with knowledge on the underlying layer, but you can redirect your learning to a more practical proficiency.

A Glimpse on The Future of Copilot

GitHub Copilot is a pretty interesting advancement in software engineering, even if not completely on point at the moment. According to the FAQ, the system gets the generation right around 50% of the time, and it is recommended to stay wary of the generated code. 

If we look a bit differently on GitHub Copilot, we can consider this as a new programming language. The input of this language is the documentation and function name and those are transpiled into source code for another programming language.

 The generation is today limited to methods but we can imagine that this will evolve to classes or even packages. We can also imagine the generation becoming almost flawless for well-known use cases.

Even if everything is one day working on a larger scale and flawlessly, the generated code will still require developers to handle the direction it takes, and connect the even bigger pictures altogether.

Conclusion

In regard to what we just saw, it makes no doubt that GitHub Copilot will further abstract development and ease the creation of software. This breakthrough has the power to move the development industry, as other abstraction layers did before.

Having said that, developers will probably never lack opportunities, as the scope of the projects will get bigger thanks to this new abstraction layer. The day to day work done as a developer may change, but developers will still be required for a long time.

As a matter of comparison, we already saw system administration positions evolve to SRE, still working on providing reliable hardware, but on a scale never seen before. In the same way, developers may evolve to something close, adapting to the new tools.

Thanks to Sarra Habchi for the review

Top comments (0)