top of page
G3N3XUS - one hub for Minecraft and Hytale

AI Writing Code Isn't New: Code Reuse Is 75+ Years Old

Writer: Petur Reynisson
Petur Reynisson
Oct 25
4 min read

Updated: Nov 19

Many people who fear AI or dislike it as a programming tool have forgotten their history. When they say it's wrong or lazy to let AI write code, the argument is weaker than it sounds. Programmers have used code they didn't write for as long as there have been programmers.


Before you make up your mind, look at these five examples.


A student writing 'Using Claude Code is bad!' over and over on a classroom chalkboard while a teacher points at the lines with a ruler

1. Standard libraries (since 1949)

When a C programmer prints text to the screen, they call printf(). They didn't write it. It came out of Bell Labs in the early 1970s. Shared code is even older than that: the EDSAC computer at Cambridge had a library of ready-made subroutines in 1949, and Fortran shipped with one in 1957. Every student writes a sorting algorithm once, but almost nobody writes their own sort, date handling or file reading for real work. They call functions that someone else wrote, tested and shipped, and that's the definition of competent programming.


2. Package managers: npm, pip, Maven, NuGet

A modern web app often pulls in hundreds or thousands of packages written by strangers. In March 2016 one developer pulled all of his roughly 270 packages from npm after a naming dispute. One of them was left-pad, an 11-line function that pads text, and removing it broke builds around the world, including at big companies. npm restored it within hours. The incident set off a loud debate about whether developers had "forgotten how to program". Yet a decade later, depending on packages is still how almost every app gets built. The lesson people kept was "check your dependencies", not "write everything yourself".


3. Stack Overflow copy-paste

Since Stack Overflow launched in 2008, the main way developers fixed problems was to search the error, find an answer and paste the snippet. "I copied it from Stack Overflow" is a running joke in the industry, and it's a joke because everyone does it, from juniors to senior engineers. It wasn't free of risk either: a 2017 security study found insecure copied snippets in a large number of Android apps. The answer wasn't to stop using Stack Overflow. It was to read what you paste.


4. Game engines and modding APIs

Most indie developers don't write their own physics, rendering or audio systems. They use Unity, Unreal or Godot. Some hits were built closer to the metal, Minecraft among them, but even those stood on libraries like LWJGL. Minecraft modders build on Fabric or Forge and on mappings shared by the community instead of reverse-engineering the game from scratch every time. Engine games do get called "asset flips" when there's nothing new on top. That's the real test: nobody judges a game by whether the engine is homemade. What you build on top is the work.


5. Autocomplete and code generators

Since the late '90s, IDE tools like IntelliSense have been suggesting and completing code as you type. Ruby on Rails, released in 2004, generates a whole working app skeleton from a single command. Before that, compilers and tools like yacc and lex had been generating code since the 1950s and '70s. Programmers have had machines writing code for them for decades. AI is a bigger and less predictable version of the same idea.


The point

A programmer's job has never been typing every character by hand. The job is knowing what to build, choosing the right pieces, putting them together and making sure the result works. AI is the newest piece in a reuse chain that goes back to 1949.


One honest difference

There is one real difference worth naming. A popular library has been tested by thousands of users over years, while fresh AI output hasn't been tested by anyone yet. That doesn't make AI-written code wrong. It means the same rule applies that has always applied: reuse is normal, and the programmer is still responsible for reviewing, testing and understanding what they ship. That was just as true of every Stack Overflow snippet ever pasted.


Something to think about

Every one of these was called lazy or dangerous when it arrived. Libraries, npm packages, Stack Overflow answers, game engines and autocomplete all had their critics, and every one became normal practice. AI is getting the same reaction. Take a moment to think about it honestly. You may find that the line between "real programming" and "letting the tool do it" was never where we thought it was.


FAQ

Is it lazy to use AI to write code?

No more than using a library or a Stack Overflow answer. What matters is whether you review, test and understand the code you ship.

What was the left-pad incident?

In March 2016 a developer removed his packages from npm, including left-pad, an 11-line function. Builds that depended on it broke worldwide until npm restored it a few hours later.

How old is code reuse in programming?

At least as old as 1949, when the EDSAC computer at Cambridge used a shared library of subroutines.



P.S. A small explanation about how these articles were made

I've followed AI for more than 15 years, from image creation to coding. I watched the clumsy early experiments, the "wait, it can do that now?" moments, and everything in between. These articles bring together everything I've noticed, read and lived through along the way: how I feel about it, the ethical questions, and the plain historical facts.

And yes, before anyone asks: I used AI to make every one of these articles. It helped me with research, proofreading and finding the right words. English isn't my first language, and AI has been a fantastic writing buddy. It catches my typos and untangles my sentences without ever rolling its eyes.

But the opinions, the views, the angle and the structure are all mine. AI helped me say it. It didn't tell me what to say.

Petur (G3N3ZIS)

Comments


bottom of page