AI 編碼入門:為何如今任何人都能建立應用程式
AI Coding for Beginners: Why Anyone Can Build an App Now
AI 編碼降低非 IT 人員建立可運作應用程式的門檻,讓他們描述需求、執行程式,再把錯誤交回 AI 修正。文章指出,快速完成的介面和功能只是表面,數據量增加後的效能、客戶個人資料安全,以及後續維護仍是難點。文章列出五項應用程式自我檢查問題,並介紹 Azure 的 Microsoft Entra ID、Azure Key Vault 和 Microsoft Defender for Cloud。
A business student built her own shop website last week. No developer, no coding class. A marketer I know built his own campaign tracker instead of waiting for the technical team. A few years ago both of them would have paid someone. Today they describe what they want, and an AI writes it. A few evenings later they have something that runs.
This post explains why that wall came down so fast, what people outside IT are really good at, and which part of the job did not get any easier. It is written for two readers: the person who just built their first app with AI, and the IT person who is wondering what this means for them.
What changed, in one picture
Building software used to look like this:
- Learn a programming language (months).
- Learn the tools around it: editor, libraries, database, hosting (more months).
- Finally build the thing you had in mind.
Now it looks like this:
- Describe the thing you have in mind.
- Read what the AI wrote, run it, and paste back any error.
Steps 1 and 2 of the old path did not disappear. They moved to the AI. That is the whole story of "vibe coding", which is the common name for building software by describing it to an AI instead of typing the code yourself.
The hard part used to be syntax
Syntax is the exact spelling a programming language demands. People forgive spelling mistakes. Computers do not.
Here is a beginner's first real bug. The idea is correct. One character is missing.
let total = price * quantity
[cart, wishlist].forEach(save)
The first line has no semicolon at the end, and the second line starts with a bracket. JavaScript reads the two lines as one long instruction, quantity[cart, wishlist], and the program fails with a message that says nothing about a semicolon. A beginner can lose a whole afternoon on this. Many people quit programming at exactly this stage, long before they built anything useful.
With an AI assistant the loop is different:
- You write: "Build a shop page with a product list and a cart."
- The AI writes the code.
- You run it and get an error.
- You paste the error back and write: "I got this error, fix it."
- The AI fixes it.
Nobody needs to remember where the semicolon goes. The first wall is gone.
People outside IT have one real edge
They know their own problem very well.
The shop owner knows that customers ask about sizes before price, that stock is counted per colour, and that delivery takes two days in the city and five outside it. The marketer knows which four numbers decide whether a campaign continues. An accountant knows the exact rule for the end-of-month report.
Developers often do not have that knowledge. They have to ask for it, and something is always lost on the way. When the person with the problem builds the tool, the tool usually fits the real need on the first try.
So this trend is not a toy. For small internal tools it often gives a better result than buying a product that was built for a thousand different companies.
The fast part is the part you can see
Here is the catch. What gets built quickly is what is visible:
- a screen
- a few features
- twenty rows of test data
Think of an iceberg. That is the tip above the water. It is real, and it is useful, but it is the small part.
The hard part is under the water
Three things happen later, and none of them appear in a demo.
1. Thousands of users. With twenty rows of data everything is instant. With two hundred thousand rows, the same page takes eight seconds to load, and nobody knows why. The code did not change. The amount of data did. Finding the reason needs knowledge about how databases search, which the builder never needed before.
2. Customer data. The moment the app stores names, phone numbers, addresses or orders, a security bug is no longer just annoying. In many countries a leak of customer data is a legal problem, with reporting duties and fines. The most common bug of this kind is simple: user A changes one number in the web address and sees the order of user B, because the app never checks who is asking.
3. Six months later. The business changes and the app needs a new feature. The person who built it opens the code and finds four thousand lines they did not write and cannot read. Every change breaks something else. This is the maintenance problem, and it is where most quickly built software ends its life.
A quick self-check for your AI-built app
If you built something with AI and other people now use it, answer these five questions honestly:
| Question | Why it matters |
|---|---|
| Does every page check who is signed in before it shows data? | Stops user A from seeing user B's data |
| Where are the passwords and API keys stored? | They must not sit inside the code |
| Is there a backup, and have you tried to restore it? | A backup you never tested is a hope, not a backup |
| What happens when two people save at the same time? | One of them can silently lose their change |
| Could you explain the main parts of the code to a colleague? | If not, nobody can fix it later |
One "I don't know" is normal. Three or more means the app is running on luck.
If that app runs in Azure
Azure gives you ready-made answers to the first questions, so you do not have to build them yourself:
- Who can sign in? Microsoft Entra ID is the identity service. Let it handle sign-in instead of writing your own password screen, and turn on multi-factor authentication, which means a password alone is not enough.
- Where are the passwords and keys? Azure Key Vault is a locked store for secrets. The app asks the vault for the secret when it needs it, so nothing sensitive sits in the code.
- Who is watching? Microsoft Defender for Cloud checks your cloud setup and lists what is weak, in order of risk.
None of these need you to be a developer. They need you to know that the question exists.
The short version
Making software that runs is much easier than it was. Making software that is right, safe, and still fixable in two years is as hard as ever.
That is good news for people with ideas, and it is not bad news for IT people. More software is being built than ever, and all of it needs someone who understands what is under the water.
Next in this series: three quiet bugs that pass the demo, and what all of this means for IT jobs.
Sources
Made by CD with love from VietNam. One short Microsoft security video a day at 20:00 (Vietnam time) on YouTube: CD Security Lab.
Thanks for reading! I'm Cuong, and on CD Security Lab I rebuild real Microsoft security cases in a safe lab and explain them simply. Follow along:
- ▶️ YouTube (daily Shorts + explainers): CD Security Lab
- 💼 LinkedIn: Cuong Do
- 📘 Facebook: CD Security Lab
- 📸 Instagram: @cdsecuritylab
- 📝 More posts like this: Dev.to
Got a question about your own tenant? Drop it in the comments.
來源:DEV Community · dev.to