Skip to content
Victory Square Partners

Insight

AI and [Code]: A Love-Hate Relationship

Disclaimer: The following account is a bemused experiment that explores the coding capabilities of AIs and the way these can help and/or endanger the existence of Homo Engineerus. The information is by no means…

Insight· Valentin Harapu

Disclaimer: The following account is a bemused experiment that explores the coding capabilities of AIs and the way these can help and/or endanger the existence of Homo Engineerus. The information is by no means accurate, complete or even based on real research, but the language it is presented in might make it seem as if it was, to the point where it can sound condescending. P.S.: No AIs were hurt during the making of this article.

Part one: Zeitgeist.

Despite all the recent layoffs at FAANG & CO, the software industry is still a massive gold rush. That’s mainly because software jobs pay well. And, some might say, it’s even easy to land a job as a developer.

Many of these jobs are for coders. So.. what is a coder? The simplest definition is “a living organism (person) who can type in a language machines understand”. In essence, we’re translators. We take ideas from people and explain them to robots that do our bidding.

There are two threats to a coder’s way of life.

Threat 1. The growing popularity of the IT industry. From a speech given by Uncle Bob I learned that for a few decades between the 60s and the 90s the number of developers doubled every 4 years, which is not as rapid as the growth of mice populations, but it still sounds like a lot. More people equals more competition equals decreasing labor opportunities & conditions.

Threat 2. Technological advancements. Back in my day, displaying even the simplest thing on screen involved intense coding and a lot of math (plus some black magic for good measure) distilled into 80-character rows. Today, it’s not out of the ordinary to ask a junior developer to create self-scaling web apps using K8s, fitted with rate limiting, SSO, web RTC, microservices of all kinds, and a beautiful UI. The crazy part is that a junior can deliver all this, despite a complete lack of understanding of the aforementioned technologies.

These two threats have been made worse by an idea that dawned on business people who started thinking “Our machines work non-stop and we don’t really pay them much. They automate simple tasks! If a junior developer can do it, surely we can build a machine that can do that as well!” (insert evil laugh here). Crazy thing is, there are some really smart people working for the business people who started actually building this machine. Fast forward a couple of years and the no-code revolution was born. Thanks to it, people with no code skills can create apps using fascinating UIs. At the same time, advancements in large language models make people believe AI will replace us all, which it should, because we’ve caused enough havoc on this planet.

Recently, social media has been exploding with AI-related content. As I write this, it keeps getting flooded with examples of how chatGPT writes apps given just simple hints, and about how, not too long ago, Github’s copilot did exactly the same.

With all of this in mind, let’s go back to that definition: “a living organism (person) who can type in a language machines understand”.

The human half of the equation is still too complex for machines to comprehend. Machines like precision, and each instruction in a file has exactly the same meaning every time. However, enter hoomans, and things get complicated with nuances and multiple interpretations. Take the word “great”, for example. Great means “great”, but pronounced in a lower tone and prolonged (more like “grreat…”) could actually mean “not great”. When used enthusiastically, “Great!” could mean something more positive than the regular “great”. However, if you find yourself in a situation that sucks, “Great!” can be uttered sarcastically, meaning “awful”. Confused enough yet? Try explaining this in javascript.

Part Two: Tools of the Trade

I mentioned how a novice developer can actually build amazing apps. This is possible because of the fantastic tools that exist. Anyone that has seen a computer in the 90s can tell you that today’s integrated development environments (IDEs) are pure science fiction by comparison, and Software as a Service (SaaS) providers are offering incrementally better products every day.

When it comes to machine learning (ML), let me first say that it still feels like voodoo to me. I am very much an ML noob and no matter how well this subject is explained to me, there are practical aspects that I simply don’t understand and maybe never will. It’s similar to driving my car. I can drive it just fine, but it has a myriad of parts that I don’t understand and I currently have no interest in doing so. .

I believe ML can be seen just as any other tool, with inputs, outputs, predictable behavior, varying degrees of quality, and whatnot.

To test this idea, I went on a coding journey to replicate a simple app with the help of AI. I’m mainly a front-end developer and that’s where I feel at home, so I chose as my candidate a simple single page application (SPA) that I had recently tinkered with. I opened my browser and navigated to https://chat.openai.com/ where sidekick no. 1 resides. I also went and subscribed to GitHub’s Copilot and installed it in my IDE.

And from here on things started to get interesting.

Part Three: Mad Science

I approached this project with essentially zero expectations. I’ve been around long enough to know that hype trains are not to be trusted. However, my immediate reaction was to jump on the train and drive it!