HomeVideos

I found the line splitting AI coding

Now Playing

I found the line splitting AI coding

Transcript

340 segments

0:00

If you're doing any AI coding in your

0:02

business right now, you need to

0:04

understand the difference between vibe

0:06

coding and professional AI coding. Today

0:09

I want to talk about the line, you know,

0:12

that invisible line that separates vibe

0:15

coding from professional coding. This

0:17

week I had two separate conversations

0:19

about this that I want to share with you

0:21

because I feel that they really help

0:22

drive the point home.

0:27

The first was a video call on on we see

0:29

of a guy that runs a a commercial refer

0:31

business. They basically kit out

0:33

schools, hospitals, and offices. And his

0:36

biggest pain point was managing

0:38

contractors. You know, sending out jobs,

0:40

getting quotes back, tracking documents,

0:42

and he found that offthe-shelf pieces of

0:44

software either didn't work well enough

0:47

where he needed four different

0:48

subscriptions duct taped together in

0:50

order just to achieve the result that he

0:52

wanted. So he heard about claude code

0:54

and thought could I actually build this

0:56

thing with claude code? Now let me

0:58

clarify he is not a developer. His

1:00

background is in web design. So he knows

1:02

Photoshop, he knows Figma, but he's not

1:04

an engineer. But he did have a clear

1:06

idea of what he wanted and he had the

1:09

pain of living dayto-day in his business

1:11

with the inefficiencies. So he prompted

1:14

his way through it. No, you vibe code it

1:16

prompt by prompt. He built this app with

1:18

the vibes and a week later he had a

1:21

working app. Then I asked him a question

1:22

on the call. I said, "What database are

1:24

you using?" And he just stared at me

1:26

with a look. It's like I asked him for

1:28

the meaning of life. He didn't know the

1:30

answer. So he logged in to Versel and

1:33

after a few minutes he said, "Oh, it's a

1:35

Superbase." Now that's pure vibe coding.

1:38

He's building an app and has no concern

1:40

over the mechanics under the hood, about

1:42

the infrastructure, about the

1:44

architecture. He just doesn't care. The

1:46

AI handles it and is currently working

1:49

for what he needs. It's brilliant. is

1:50

the the perfect definition of vibe

1:53

coding. But let me be clear, not all

1:55

coding, AI coding is vibe coding.

1:58

There's a line and I want to draw out

2:00

this line for you today.

2:03

Vibe coding is what this reverb company

2:06

guy is doing. You know, you describe

2:07

what you want to the eye and the AI

2:10

builds it. The AI picks the database.

2:12

The AI picks the infrastructure. The AI

2:13

picks the architecture. The person

2:15

vibing doesn't need to know all of that.

2:17

And for a small internal app, that's

2:19

okay. But at the other side of the line,

2:21

you have professional AI coding. And

2:24

that's something entirely different.

2:26

Now, what's similar is that the AI still

2:27

writes the code, but before a single

2:30

line of code is written, three things

2:33

need to happen. One, there's a detailed

2:36

PD and spec doc that explain what the

2:39

app does in the least ambiguous way

2:41

possible. It's not a build me a

2:42

contractor app and vibing your way

2:44

through the build. It's a set of

2:45

markdown files so tight that if you were

2:47

to give those to another developer or

2:49

let's say three developers in isolation,

2:52

they will probably end up building the

2:53

same app because the documentation is so

2:55

tight. Two, a human engineer has to make

2:59

the architectural decisions. These

3:00

aren't handed off to an agent. They're

3:02

handled by a professional who knows the

3:04

consequences of not making these choices

3:06

correctly now that could happen in 6

3:09

months. And three, before the AI writes

3:11

anything, it has to confirm what it's

3:14

about to build. You feed in all the

3:15

docs, but before it actually starts

3:17

writing the code, you ask it to confirm

3:19

what it's understood and feedback what

3:22

it's about to do. It needs to say

3:23

something like, "Here's what I've

3:24

understood from your request, and here's

3:26

what I'm planning on doing, and these

3:27

are the steps I'm planning on taking."

3:28

Then the engineer has to read through

3:30

the plan and confirm that it's correct

3:33

before the AI starts writing the code.

3:36

You see, the AI is the muscle. The human

3:39

is the brain. The AI does the typing and

3:41

the human does the engineering. Vibe

3:44

coding is fine when you're building

3:45

something small where the the

3:47

consequences of something going wrong

3:48

are disastrous. But professional AI

3:51

coding is what you need when real

3:53

customers depend on the software when

3:55

data security matters when the app has

3:58

to scale beyond let's say I don't know

3:59

10 users or something. And that's the

4:01

line. It's the same AI tools on both

4:04

sides of the line. the code may actually

4:06

look the same on both lines of this both

4:09

sides of the of the line on the surface.

4:12

The difference is kind of invisible

4:13

until something breaks and then it might

4:16

be too late. So, let me show you what AI

4:19

coding, professional AI coding actually

4:21

looks like in uh our team

4:26

at WU. We're in the process of upgrading

4:29

our analytics module. We're basically

4:31

adding custom dashboards. you know, the

4:32

facility to not just display calls data,

4:34

but also display data from external

4:36

sources. Think of it like a mini BI

4:38

tool. And because of what I've learned,

4:40

we're approaching this one completely

4:42

different to how we've approached our

4:44

previous tasks before. First, we've

4:46

written a proper PR, not an agile style

4:50

story board on a post-it note or

4:52

something. A proper detailed PRD that

4:55

says exactly what the app does, how it

4:57

works, how it needs to integrate, what

5:00

it doesn't do. every single edge case.

5:02

Second, our lead software architect is

5:06

writing a specification that's so tight

5:08

that includes things like the data

5:10

models, the schemas, the API structure,

5:13

how the system behaves in different

5:14

states, the error handling, everything.

5:17

And third, we will use clawed code to

5:20

generate the code. The documentation

5:22

will be there, the architecture will be

5:23

there. So in theory, claude code can

5:25

just generate the code utilizing the

5:28

documentation that we provided. There's

5:30

also a new idea that I've had that I

5:32

want to I want to test out. I'm going to

5:33

call it the anti-ambiguity agent.

5:36

Basically, we feed in the PRD and the

5:39

specs dock into an agent that has a

5:41

sequence of markdown files as

5:43

instructions that basically say

5:45

scrutinize this PRD and this spec sheet

5:48

to extract any ambiguity, any possible

5:52

where there's choices that you could

5:53

make or anything that could need

5:55

clarifying. The output should be a spec

5:57

that is so unambiguous that Claude code

6:00

can just go and generate the code

6:01

without any room for doubt. That's my

6:03

plan anyway. Get the spec so tight and

6:06

then let Claude code write the code. The

6:08

test is going to be can we build

6:10

productionra software in a way that's

6:13

faster or more efficient than if we had

6:15

written the code manually. And I think

6:17

we can.

6:20

The second thing that happened this week

6:22

is a call with a dentist. not my

6:24

dentist, but a customer of ours who's

6:27

asking for an integration between our

6:29

phone system and his and his systems.

6:30

He's probably one of the only dentists

6:32

I've ever met who's actually good with

6:34

computers. He's around 35, techsavvy

6:37

kind of guy, and he owns two dental

6:38

practices in Surrey near London. His

6:41

thing is all about business efficiency

6:43

through automation with technology. And

6:45

he had a similar problem to the

6:46

commercial refri guy. So, he went ahead

6:49

and built a complete operating system

6:51

for dental practices. He built a CRM

6:54

with lead tracking built in, a finance

6:56

system so it knows the the how much a

7:00

patient has spent at the dentist. A

7:02

learning management system so that the

7:05

dentists can learn how to manage their

7:08

practices more efficiently. And all this

7:10

in one single platform. Now, he's not

7:12

doing this solo. He's hired a developer

7:14

with 10 years of experience, a guy

7:16

that's fully bought into AI coding. And

7:18

between him and this developer, they

7:20

wrote all the documentation in advance,

7:23

fed it into clawed code. And now they

7:25

have a working prototype of the the

7:27

platform and they've been at it for 8 to

7:30

10 weeks. I think he said this is a

7:32

great example of professional AI coding

7:35

used to build an MVP that can scale as

7:38

now he's planning on launching this

7:40

platform as a service to other dental

7:41

practices. And the thing is this dentist

7:44

isn't the only person doing this. Right

7:46

now at my company, we have three open

7:49

requests from customers who've either

7:52

built their own custom CRM or they're in

7:54

the process of building their own custom

7:56

CRM from scratch. This was unheard of a

7:59

few years ago. And this is happening at

8:01

scale inside small businesses behind the

8:04

scenes. It's happening everywhere. And

8:06

out of those people doing it, the

8:07

founders that don't know where the line

8:09

is between vibe coding and professional

8:11

AI coding, they're going to find out

8:13

sooner or later. It could be at the

8:15

moment that they have an influx of new

8:16

users that's increases the load and

8:19

something breaks or maybe the moment

8:20

they have to add some new feature to

8:22

their vibe coded app and it requires a

8:25

massive refactor and it's not viable to

8:27

do. This is not a warning sign to stop.

8:29

This is just to for you to know what

8:31

line, what side of the line you need to

8:34

be on and if you're on the wrong side so

8:36

you can plan the transition before it

8:38

bites you in the ass.

8:42

There's a framework that I read a few

8:43

months ago from this guy called Dan

8:45

Shapiro that really resonated with me.

8:47

He describes five levels of AI coding.

8:50

Level zero is basically spicy

8:53

autocomplete, something like we'd get on

8:54

GitHub copilot, for example. Level one

8:56

and two, the human is still the main

8:59

driver. Level three and four, the AI

9:01

writes most of the code and the human is

9:03

involved uh to review the code and to

9:06

write the specs and the PRD and just to

9:08

check everything at the build stage. And

9:10

then level five is what he calls the

9:13

dark factory where AI writes the

9:16

entirety of the code. He's given the

9:17

spec. AI is given the spec and and the

9:19

PD and it writes all the code, deploys

9:21

it, everything. No human in the loop

9:22

beyond the p the point of writing the

9:24

specs and the PD. I'm not going to go

9:26

into every single one in detail, but

9:27

just to let you know that most

9:30

businesses out there that are either

9:32

software companies or that hire

9:33

developers or that write code are

9:35

probably at level zero or one. Yet, most

9:38

vibe coders are probably at level four

9:40

already because all they do is they

9:42

write the the the prompt, which you can

9:44

consider a small P. They submit the

9:46

prompt and then they forget about it,

9:48

don't look at the code, and they just

9:48

look at they look at the end result when

9:50

it's ready to be tested. as in that as

9:52

in like not unit tests actually test the

9:55

thing live but there is a software

9:57

company called strong DM who claims to

10:00

be at level five complete dark factory

10:04

they say that they don't even hire

10:06

developers who write code so one of the

10:09

specs in their job descriptions is that

10:10

we want to hire developers that do not

10:12

write code that's their ethos I mean

10:15

we're that's extreme we're not there yet

10:17

at Wu I want to get there but we can't

10:20

be we're four years into a project. We

10:22

haven't documented enough at the

10:24

beginning. So, we can't have AI write

10:26

all our code just yet, but we're working

10:29

towards it step by step. The analytics

10:31

uh rewrite or the analytics upgrade is

10:33

going to be the first step in that

10:35

direction.

10:38

So, here's where this leaves me. As the

10:40

CEO of a 20 person dev team

10:42

transitioning towards true professional

10:45

AI coding, we're on the journey. Not

10:47

arrived yet, but we're learning. We're

10:50

adapting. We've got senior engineers who

10:52

are drowning in code reviews. We've got

10:54

mid-level guys who are still trying to

10:56

get their head around AI coding. And I'm

10:58

pushing as hard as I can without

11:00

breaking the team. Actually, there's

11:02

there's a whole conversation to be had

11:04

around the fact that developers not

11:06

adopting or not wanting to adopt AI

11:09

coding. And that's probably a

11:11

conversation for another video. But the

11:13

thing is, the line between vibe coding

11:15

and professional AI coding is invisible

11:18

for most people. Now, if you're vibe

11:20

coding an internal tool for your

11:21

business and it's behind your network

11:22

and it's secure, you're good. Keep

11:24

going. But if you're vibe coding a SAS

11:26

and you don't have the technical

11:28

expertise within your team and it's a

11:30

SAS that handles customer data or it's

11:32

it's a SAS that your customers depend

11:34

on, remember the line. Plan the

11:37

transition. Bring on the engineering

11:39

discipline before it's too late.

11:44

I'm running a software company that

11:46

existed before AI coding was a thing and

11:49

I'm on the journey of transitioning to a

11:52

AI professional AI coding a dark factory

11:55

and I also love vibe coding things on

11:57

the on the side. It's so much fun. On

11:59

this channel I'll show you what works

12:00

and what doesn't work for us in my

12:02

company. If you want to follow that

12:04

journey, hit subscribe and head over to

12:06

axelmolist.com

12:07

to join my newsletter where you'll

12:09

receive an email once a week or maybe

12:11

every two weeks, once every two weeks

12:13

where I talk about what's working and

12:15

what's not not working inside my

12:17

businesses. And remember, vibe coding is

12:20

for prototypes. Professional AI coding

12:22

is for production. The line is almost

12:25

invisible right now, but I hope now you

12:28

can see it more clearly. See you in the

12:31

next one.

Interactive Summary

The video distinguishes between "vibe coding" and "professional AI coding." Vibe coding involves using AI tools like Claude Code to quickly build applications based on a general idea, without deep concern for underlying technical details such as databases or architecture. This approach is suitable for small internal tools. Professional AI coding, however, emphasizes rigorous planning, detailed documentation (PRDs and specs), human-led architectural decisions, and AI-assisted code generation with verification steps. This method is crucial for production-level software, especially SaaS products that handle customer data or are relied upon by users. The speaker introduces a five-level framework for AI coding, suggesting most businesses are currently at lower levels, while some vibe coders might be operating at higher levels without realizing the associated risks. The video highlights examples of both approaches and advocates for a transition towards professional AI coding for scalable and reliable applications, likening AI to the 'muscle' and humans to the 'brain' in the development process.

Suggested questions

5 ready-made prompts