跪拜 Guibai
← Back to the summary

AI Has This Developer Barely Writing Code, and That's Fine

With AI, How Long Has It Been Since You Wrote Code Yourself?

图片

Recently I suddenly realized that over the past year, I haven't seriously written code by myself in a long time, and I have more time to slack off.

I had time to make a slack-off mini program: 工位闲 (Workstation Idle). In a few days, it's already crossed 300 users.

My current state is: I paste a large chunk of the requirements document directly over, and give the wireframe directly to Codex. It does its own image recognition, and the page it produces matches the requirements doc and wireframe exactly. When I hit errors, I just paste all the logs over as well. After all, AI doesn't get tired, and my own job is just to communicate requirements with colleagues, then chat with AI, and communicate with product managers.

When testers raise bugs, sorry, I just give the tester's requirements document to Codex, and it can probably fix them.

Actually, I've been having an idea lately, and it's getting stronger.

For small systems, front-end/back-end separation really should be eliminated. Put front-end and back-end code together, and just use natively embedded pages. Adding a Vue framework adds an extra step. Throw the requirements doc and wireframe to AI, and it's done in one shot, plus it can auto-generate API docs. Currently most projects still use front-end/back-end separation, with the front-end and back-end arguing every day, one side finishing and having to wait for the other, which is really a waste of time.

Before, when I went to work, the first thing I did when opening the computer was to open the development tools, think about what features to implement today, how to design the database, how to write the API. When I got stuck, I'd search Baidu or Google and read a few tech blogs.

Now it's different. I open the computer, open AI first, describe the feature I want to build, and many times I don't even need to write the database table creation statements myself. After the code is written, I have AI check it; if there's a problem, I have AI change it. Sometimes a feature is done and I haven't typed a few lines of code.

When I first started using AI, I wasn't very comfortable. I basically reviewed every line of code it generated. Later, after using it more, I gradually got used to it.

Sometimes I think: if this continues, will my programming skills degenerate? In the future, if I leave AI, will I still know how to code?

Later, I thought about it, and there's no need to worry too much about this question.

The purpose of learning programming has always been to implement certain features and solve real problems, not just to write code.

Before, when there was no navigation, taxi drivers had to memorize every street in a city. Now with navigation, there's no need to prove you're a good driver by turning it off.

At home, we only need to know how to use the remote control for the TV; we don't need to understand how the TV is constructed.

The same logic applies to writing code.

One of the recent admin systems I developed uses Spring Boot on the back end and Vue3 and Element Plus on the front end. Its main functions are WeChat Work login and backend account permission management.

This project involves quite a lot: user management, role management, permission requests, account return, and WeChat Work API integration.

During development, I used AI to solve real problems, like how to design database tables, how to configure scheduled tasks, how to integrate WeChat Work APIs, how to troubleshoot project startup errors, and how to adjust front-end styles.

Sometimes when I hit a Java error, I just throw the log to AI and let it analyze the cause, instead of copying the error to Baidu and reading article after article to find an answer.

Developing this project also made me reconsider whether front-end and back-end still need to be as strictly separated as before.

Previously, a back-end developer wanting to independently build a complete project would have to spend a lot of time learning front-end technologies. Now with AI, one person handling both front-end and back-end development is no longer as difficult.

Of course, AI doesn't get everything right every time. Some business logic still needs to be sorted out by yourself, and some code needs repeated modification. But compared to before, the development approach has indeed changed.

People online often debate whether using AI to write code still makes you a real programmer. Some feel that only code you type line by line counts as your own.

I don't see the need to argue about these things.

A company hires a programmer because it wants someone who can solve problems, not someone who writes a certain number of lines each day. Users of a software product don't care whether the code was written by a human or AI.

As long as the software works well and solves the user's problem, that's enough.

Of course, that doesn't mean that with AI, we don't need to learn technology anymore.

AI-generated code can have problems, and sometimes it makes very low-level mistakes. If you don't have a certain technical foundation, you won't even know whether it's written correctly.

It's just that I think the direction of learning technology might change in the future.

In the past, we spent a lot of time memorizing syntax and the usage of various APIs. In the future, we might better spend time understanding business, learning system design, understanding technical principles, and how to judge whether an AI-proposed solution is reasonable.

In fact, looking at the history of the programmer profession, development tools have always been changing.

From early assembly language to high-level programming languages, from hand-written SQL to various ORM frameworks, and now to AI programming, each change has let us do a little less.

Does having frameworks mean we're no longer programmers?

Times change. Many things we once took for granted may not stay the same.

As an ordinary programmer, I don't think there's any need to miss the days of writing code by hand, or to deliberately prove how great you are without AI.

If there's a better tool, why not use it?

Instead of worrying about not being able to write code in the future, think more about what you can do with AI that you wanted to do but couldn't before.

For example, build your own software, make a WeChat mini program, or try out products that previously felt too costly to develop.

We can't change the direction of the times, but we can change the way we work.

Learn the technology you still need to learn, and use the AI you should use. Don't assume that just because you've worked this way for the past decade or so, you should keep working this way.

With AI, how long has it been since you wrote code with your own hands?

The answer to that question isn't that important anymore.

What matters more is: with AI, how many things have you accomplished that you couldn't before?

There's also more time to slack off. Balance work and rest; health is the most important.

My third mini program: 简词记, is live!

WeChat Mini Program personal version development tutorial

After waiting a week, my slacking mini program finally passed WeChat certification