Magic

I don’t like magic.

I’m not talking about acts of prestidigitation and illusion. I mean the kind of magic that’s used to market technologies. It’s magic. It just works. Don’t think about it.

I’ve written about seamless and seamful design before. Seamlessness is often touted as the ultimate goal of UX—“don’t make me think!”—but it comes with a price. That price is the reduction of agency.

When it comes to front-end development, my distrust of magic tips over into being a complete control freak.

I don’t like using code that I haven’t written and understood myself. Sometimes its unavoidable. I use two JavaScript libraries on The Session. One for displaying interactive maps and another for generating sheet music. As dependencies go, they’re very good but I still don’t like the feeling of being dependant on anything I don’t fully understand.

I can’t stomach the idea of using npm to install client-side JavaScript (which then installs more JavaScript, which in turn is dependant on even more JavaScript). It gives me the heebie-jeebies. I’m kind of astonished that most front-end developers have normalised doing daily trust falls with their codebases.

While I’m mistrustful of libraries, I’m completely allergic to frameworks.

Often I don’t distinguish between libraries and frameworks but the distinction matters here. Libraries are bits of other people’s code that I call from my code. Frameworks are other people’s code that call bits of my code.

Think of React. In order to use it, you basically have to adopt its idioms, its approach, its syntax. It’s a deeper level of dependency than just dropping in a regular piece of JavaScript.

I’ve always avoided client-side React because of its direct harm to end users (over-engineered bloated sites that take way longer to load than they need to). But the truth is that I also really dislike the extra layer of abstraction it puts between me and the browser.

Now, whenever there’s any talk about abstractions someone inevitably points out that, when it comes to computers, there’s always some layer of abstraction. If you’re not writing in binary, you don’t get to complain about an extra layer of abstraction making you uncomfortable.

I get that. But I still draw a line. When it comes to front-end development, that line is for me to stay as close as I can to raw HTML, CSS, and JavaScript. After all, that’s what users are going to get in their browsers.

My control freakery is not typical. It’s also not a very commercial or pragmatic attitude.

Over the years, I’ve stopped doing front-end development for client projects at work. Partly that’s because I’m pretty slow; it makes more sense to give the work to a better, faster developer. But it’s also because of my aversion to React. Projects came in where usage of React was a foregone conclusion. I wouldn’t work on those projects.

I mention this to point out that you probably shouldn’t adopt my inflexible mistrustful attitude if you want a career in front-end development.

Fortunately for me, front-end development still exists outside of client work. I get to have fun with my own website and with The Session. Heck, they even let me build the occasional hand-crafted website for a Clearleft event. I get to do all that the long, hard stupid way.

Meanwhile in the real world, the abstractions are piling up. Developers can now use large language models to generate code. Sometimes the code is good. Sometimes its not. You should probably check it before using it. But some developers just YOLO it straight to production.

That gives me the heebie-jeebies, but then again, so did npm. Is it really all that different? With npm you dialled up other people’s code directly. With large language models, they first slurp up everyone’s code (like, the whole World Wide Web), run a computationally expensive process of tokenisation, and then give you the bit you need when you need it. In a way, large language model coding tools are like a turbo-charged npm with even more layers of abstraction.

It’s not for me but I absolutely understand why it can work in a pragmatic commercial environment. Like Alice said:

Knitting is the future of coding. Nobody knits because they want a quick or cheap jumper, they knit because they love the craft. This is the future of writing code by hand. You will do it because you find it satisfying but it will be neither the cheapest or quickest way to write software.

But as Dave points out:

And so now we have these “magic words” in our codebases. Spells, essentially. Spells that work sometimes. Spells that we cast with no practical way to measure their effectiveness. They are prayers as much as they are instructions.

I shudder!

But again, this too is nothing new. We’ve all seen those codebases that contain mysterious arcane parts that nobody dares touch. coughWebpackcough. The issue isn’t with the code itself, but with the understanding of the code. If the understanding of the code was in one developer’s head, and that person has since left, the code is dangerous and best left untouched.

This, as you can imagine, is a maintenance nightmare. That’s where I’ve seen the real cost of abstractions. Abstractions often really do speed up production, but you pay the price in maintenance later on. If you want to understand the codebase, you must first understand the abstractions used in the codebase. That’s a lot to document, and let’s face it, documentation is the first casuality of almost every project.

So perhaps my aversion to abstraction in general—and large language models in particular—is because I tend to work on long-term projects. This website and The Session have lifespans measured in decades. For these kinds of projects, maintenance is a top priority.

Large language model coding tools truly are magic.

I don’t like magic.

Have you published a response to this? :

Responses

Joe Crawford

I am in complete accord with Jeremy Keith’s post Magic. It goes perfectly well with my own post from 2024 Mistrust-Based Technology Choices

Jeremy wrote:

But I still draw a line. When it comes to front-end development, that line is for me to stay as close as I can to raw HTML, CSS, and JavaScript. After all, that’s what users are going to get in their browsers.

Part of it for me is that if I put it out there, and it breaks, I want to be able to know I have a chance of fixing it. If it lies atop some other stack, I may not be able to, and then what?

I don’t like magic either.

Robin Osborne

@adactio Love this. I am also from the “are we sure we can’t write this ourselves, and need to buy a DLL from an established company to enable it, and have procedures in place to allow this *one* bit of 3rd party code into our house” era, blindly yolo-npm-ing into your production systems freaks me out.

When I was doing my BSc at the same time my brother was doing the same, but MSc, I would reference C++ core libs but he didn’t trust them so would write his own for EVERYTHING from scratch. Hardcore.

Will Browar 👨🏻‍💻

Also, while I don’t feel like I’m “allergic” to frameworks, I find myself no longer assuming one is needed. I’m still not sure how I feel about LLMs, yet, but I wonder if I’ll come to the same place eventually.

Sara Soueidan

“When it comes to front-end development, that line is for me to stay as close as I can to raw HTML, CSS, and JavaScript. After all, that’s what users are going to get in their browsers. [..]

Large language model coding tools truly are magic.

I don’t like magic.”

@adactio

https://adactio.com/journal/22399

I felt every word in my bones. So glad Jeremy eloquently expressed what many (or maybe a few in the age of AI??) like he and I feel these days.

Magic

Luke Dorny

@adactio When I read DOM Scripting, I felt like I made a personal choice to stick with a language I thought I could grasp. Huge fan of that book. Both php and js feel like magic or voodoo spells. I’m no magi. Nowadays css feels more powerful than ever, increasingly a magic I try to keep up with. A base camp I feel less and less in touch with. That’s the takeaway I will cling to from this piece: I enjoy puttering along in my understanding of html and css and the scripting I can understand, learning more everyday. And there’s no shame in doing this for me. Binary. Ha!Thank you.

# Posted by Luke Dorny on Wednesday, February 18th, 2026 at 1:53pm

devolute

@adactio The knitting analogy is cute. But that buys into the idea that we can achieve all commercial goals with these LLMs.

Not in my admittedly limited experience.

# Posted by devolute on Wednesday, February 18th, 2026 at 8:57pm

8 Shares

# Shared by Chriztian Steinmeier on Tuesday, February 17th, 2026 at 10:36am

# Shared by jrlarsen on Tuesday, February 17th, 2026 at 10:51am

# Shared by Nilesh Prajapati on Tuesday, February 17th, 2026 at 12:07pm

# Shared by KB on Tuesday, February 17th, 2026 at 2:38pm

# Shared by Charles Bauer on Tuesday, February 17th, 2026 at 5:06pm

# Shared by Robin Whittleton on Wednesday, February 18th, 2026 at 10:12am

# Shared by Alexandros on Wednesday, February 18th, 2026 at 12:22pm

# Shared by Joe Gaffey on Wednesday, February 18th, 2026 at 9:34pm

21 Likes

# Liked by https://feed.city/c/dan on Tuesday, February 17th, 2026 at 10:09am

# Liked by Chriztian Steinmeier on Tuesday, February 17th, 2026 at 10:35am

# Liked by Ethan Marcotte on Tuesday, February 17th, 2026 at 10:35am

# Liked by jrlarsen on Tuesday, February 17th, 2026 at 10:51am

# Liked by Carlos Espada on Tuesday, February 17th, 2026 at 11:31am

# Liked by Nilesh Prajapati on Tuesday, February 17th, 2026 at 12:07pm

# Liked by Jordi Sánchez on Tuesday, February 17th, 2026 at 2:46pm

# Liked by Charles Bauer on Tuesday, February 17th, 2026 at 5:05pm

# Liked by Guillaume Deblock on Tuesday, February 17th, 2026 at 5:06pm

# Liked by Robin Osborne on Tuesday, February 17th, 2026 at 5:06pm

# Liked by Amber on Tuesday, February 17th, 2026 at 5:06pm

# Liked by Pelle Wessman on Tuesday, February 17th, 2026 at 6:28pm

# Liked by Aaron Crowder on Tuesday, February 17th, 2026 at 8:23pm

# Liked by Alexandros on Wednesday, February 18th, 2026 at 9:22am

# Liked by Leanne Renard on Wednesday, February 18th, 2026 at 9:53am

# Liked by Tom Brown🏒 on Wednesday, February 18th, 2026 at 10:29am

# Liked by Mastro.{js,ts} on Wednesday, February 18th, 2026 at 12:22pm

# Liked by Jez on Wednesday, February 18th, 2026 at 12:22pm

# Liked by Bob on Wednesday, February 18th, 2026 at 2:07pm

# Liked by George Rodier on Wednesday, February 18th, 2026 at 2:26pm

# Liked by Joe Gaffey on Wednesday, February 18th, 2026 at 9:34pm

Related posts

Providers

Web browsers provide you with great features for free. Why would you choose to use tools that stop you taking advantage of that?

Multi-page web apps

A question via email…

Declarative design

Defining the inputs instead of trying to control the outputs.

Memories of Ajax

A Netflix series today reminds me of something from 15 years ago.

Principles and the English language

Mashing up George Orwell with axioms of web architecture.

Related links

The world is not a desktop

This 1993 article by Mark Weiser is relevant to our world today.

Take intelligent agents. The idea, as near as I can tell, is that the ideal computer should be like a human being, only more obedient. Anything so insidiously appealing should immediately give pause. Why should a computer be anything like a human being? Are airplanes like birds, typewriters like pens, alphabets like mouths, cars like horses? Are human interactions so free of trouble, misunderstanding, and ambiguity that they represent a desirable computer interface goal? Further, it takes a lot of time and attention to build and maintain a smoothly running team of people, even a pair of people. A computer I need to talk to, give commands to, or have a relationship with (much less be intimate with), is a computer that is too much the center of attention.

Tagged with

[Essay] Known Unknowns | New Dark Age by James Bridle | Harper’s Magazine

A terrific cautionary look at the history of machine learning and artificial intelligence from the new laugh-a-minute book by James.

Tagged with

Tagged with

The invisible seafaring industry that keeps the internet afloat

A fascinating in-depth look at the maintenance of undersea cables:

The industry responsible for this crucial work traces its origins back far beyond the internet, past even the telephone, to the early days of telegraphy. It’s invisible, underappreciated, analog.

Snook’s Law:

It’s a truism that people don’t think about infrastructure until it breaks, but they tend not to think about the fixing of it, either.

Tagged with

A Global Documentation Platform - Piccalilli

I was chatting to Andy last week and he started ranting about the future of online documentation for web developers. “Write a blog post!” I said. So he did.

I think he’s right. We need a Wikimedia model for web docs. I’m not sure if MDN fits the bill anymore now that they’re deliberately spewing hallucinations back at web developers.

Tagged with

Previously on this day

2 years ago I wrote Rotten Apple

Apple are planning to kill mobile web apps. This is not an exaggeration. We must stop them.

3 years ago I wrote Push

Mobile Safari finally ships the feature we’ve all been waiting for …but hardly anyone is going to get to use it.

5 years ago I wrote Employee experience design on the Clearleft podcast

Episode two of season two is a two-hander.

7 years ago I wrote Timelines of the web

The World Wide Web is a mashup.

9 years ago I wrote Teaching in Porto, day five

Friday: self-directed learning.

9 years ago I wrote Teaching in Porto, day four

Thursday: putting it all together.

11 years ago I wrote Cerf rocks

Long-term thinking for digital storage.

12 years ago I wrote Launching for America

The new Code for America website is live. That was quick!

15 years ago I wrote Sea change

Don’t fear responsive design; embrace it.

17 years ago I wrote Magnoliloss

Back up before your data goes down.

19 years ago I wrote BarCamp London 2: The Schedule

Get the line-up in hCalendar.

19 years ago I wrote BarCamping

BarCamp London 2: electric boogaloo.

23 years ago I wrote BBC - CNN = 866

Here is the BBC transcript of Hans Blix’s presentation to the UN security council.

23 years ago I wrote Robota

Here’s something a little bit different: a trailer for a book.

24 years ago I wrote New and improved

The eagle-eyed amongst you will have noticed a few changes here in the "Journal" section of adactio.