惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threatpost
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 司徒正美
T
Tailwind CSS Blog
The Cloudflare Blog
The Last Watchdog
The Last Watchdog
PCI Perspectives
PCI Perspectives
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
TaoSecurity Blog
TaoSecurity Blog
云风的 BLOG
云风的 BLOG
C
Cybersecurity and Infrastructure Security Agency CISA
O
OpenAI News
Recorded Future
Recorded Future
GbyAI
GbyAI
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Y
Y Combinator Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
量子位
博客园 - 叶小钗
V
Vulnerabilities – Threatpost
F
Full Disclosure
Recent Announcements
Recent Announcements
Vercel News
Vercel News
S
Schneier on Security
H
Heimdal Security Blog
Cisco Talos Blog
Cisco Talos Blog
V2EX - 技术
V2EX - 技术
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
B
Blog RSS Feed
宝玉的分享
宝玉的分享
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Privacy & Cybersecurity Law Blog
T
Threat Research - Cisco Blogs
G
Google Developers Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
爱范儿
爱范儿
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
N
Netflix TechBlog - Medium
S
Security @ Cisco Blogs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cyberwarzone
Cyberwarzone

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Vibe Coding vs Engineering: Where I Draw the Line
Ravi Kiran P · 2026-05-09 · via DEV Community

AI has changed how fast we can write code. A decent prompt can now give you a working script, a UI stub, a FastAPI route, or even a rough end-to-end feature in minutes.

That is genuinely useful. I use AI coding tools all the time. But I also think a lot of teams are starting to confuse generated code with engineered software, and those are not the same thing.

Vibe coding is not the problem. Treating vibe-coded output like production-ready engineering is the problem.

What I Mean by Vibe Coding

When I say vibe coding, I mean the style of working where you prompt an AI tool, accept most of what it gives you, run it, patch a couple of errors, and keep moving.

That works surprisingly well for:

  • Prototypes
  • Proof of concepts
  • Learning a new library
  • UI experiments
  • Throwaway scripts
  • Hackathons
  • Brainstorming implementation options

I do this myself. If I need to test an idea quickly, I do not want to spend an hour polishing structure before I know the idea is even worth keeping.

Here is a totally reasonable example:

import pandas as pd

df = pd.read_csv("orders.csv")

summary = (
    df.groupby("status")
      .agg(order_count=("order_id", "count"),
           total_amount=("amount", "sum"))
      .reset_index()
)

print(summary)

Enter fullscreen mode Exit fullscreen mode

For quick exploration, this is fine. It answers a question fast. It helps you inspect data. It may be exactly what you need for ten minutes of analysis.

But this is not engineering yet.

Where Vibe Coding Works Well

Vibe coding shines when the cost of failure is low and the main goal is speed.

A few examples:

  • You want to sanity-check a CSV before loading it into a warehouse.
  • You want to test a new SDK without reading the whole documentation.
  • You need a quick internal demo for a product idea.
  • You are exploring three different implementation patterns and want rough drafts first.

In those moments, AI is a force multiplier. It cuts blank-page time. It helps you learn by doing. It gives you something concrete to react to.

That is valuable. I just do not confuse that value with production readiness.

Where Engineering Begins

Engineering starts when the code has to be trusted.

Trusted by other developers. Trusted by downstream systems. Trusted by customers, auditors, operators, managers, and business processes that assume the software will behave correctly even when inputs are messy and real life is inconvenient.

That is the line I draw.

Once code crosses that line, the job changes. Now I care about:

  • Clear requirements
  • Edge cases
  • Input validation
  • Error handling
  • Logging
  • Testing
  • Deployment
  • Ownership
  • Security
  • Performance
  • Long-term maintainability

This is where senior engineering judgment matters. The real value is not typing faster. It is knowing what should be built, what should not be built, what can fail, what needs monitoring, and what needs to be explained clearly to the team.

Same Example, But Engineered

Here is the same CSV example with a bit more engineering discipline:

import logging
from pathlib import Path
import pandas as pd

REQUIRED_COLUMNS = {"order_id", "status", "amount"}

logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)


def load_orders(file_path: str) -> pd.DataFrame:
    path = Path(file_path)

    if not path.exists():
        raise FileNotFoundError(f"Input file not found: {file_path}")

    df = pd.read_csv(path)

    missing_columns = REQUIRED_COLUMNS - set(df.columns)
    if missing_columns:
        raise ValueError(f"Missing required columns: {missing_columns}")

    if df["amount"].isnull().any():
        raise ValueError("Amount column contains null values")

    return df


def summarize_orders(df: pd.DataFrame) -> pd.DataFrame:
    return (
        df.groupby("status")
          .agg(
              order_count=("order_id", "count"),
              total_amount=("amount", "sum")
          )
          .reset_index()
    )


def main() -> None:
    try:
        logger.info("Loading order data")
        orders = load_orders("orders.csv")

        logger.info("Generating order summary")
        summary = summarize_orders(orders)

        logger.info("Summary generated successfully")
        print(summary)

    except Exception as exc:
        logger.exception("Failed to process order data")
        raise exc


if __name__ == "__main__":
    main()

Enter fullscreen mode Exit fullscreen mode

The first version answers a question. The second version is starting to behave like software someone else can depend on.

It is still small, but it has shape. You can test summarize_orders() independently. You can fail early on bad input. You get logs. You have a place to extend behavior without turning the whole file into a fragile pile of assumptions.

That is the difference. Engineering is not just making code work. It is making code dependable.

The Line I Draw

Here is the simplest way I explain it:

Area Vibe Coding Engineering
Goal Make it work Make it reliable
Speed Very fast Controlled speed
Validation Manual testing Automated tests/checks
Ownership Prompt-driven Design-driven
Failure handling Often missing Expected and handled
Security Often overlooked Designed in
Documentation Minimal Useful and intentional
Maintainability Secondary Core requirement

If I am building a quick script for myself, I am comfortable staying on the left.

If the code will live beyond today, touch production data, support a customer workflow, or wake somebody up at 2 a.m., I need the right side of that table.

AI Agents Make This More Important

The line gets even more important with agentic coding tools.

An AI agent does not just suggest one function anymore. It can modify multiple files, add dependencies, generate tests, update configs, write migrations, and run commands. That is powerful, but it also means mistakes spread faster.

When an agent makes changes, I review at least these things:

  • Generated diffs, especially across multiple files
  • New dependencies and their security or maintenance cost
  • Security-sensitive logic
  • Hidden assumptions in config or environment handling
  • Tests that only cover the happy path

The danger is not that the AI writes bad code every time. The danger is that it often writes code that looks complete before it is actually safe.

Example: AI-Generated API Endpoint

This is the kind of endpoint an AI tool can generate in seconds:

from fastapi import FastAPI

app = FastAPI()

@app.get("/customer/{customer_id}")
def get_customer(customer_id: int):
    return {"customer_id": customer_id, "name": "Test Customer"}

Enter fullscreen mode Exit fullscreen mode

For a mock demo, that is fine.

For a real system, I immediately start asking harder questions:

  • Who is allowed to access this endpoint?
  • Where does the data come from?
  • What happens if the customer does not exist?
  • Are requests logged safely?
  • Are we leaking private information?
  • Do we need rate limiting?
  • How is this monitored in production?
  • What is the validation story beyond type hints?

Instead of pretending the first draft is enough, I use a checklist:

  • Authentication
  • Authorization
  • Data access layer
  • Error handling
  • Structured logging
  • Request and response validation
  • Rate limiting
  • Privacy controls
  • Monitoring and alerting

That checklist is engineering. The generated route is just a starting point.

Practical Rules I Follow

These are the rules I keep coming back to:

  • I use AI to accelerate implementation, not replace thinking.
  • I do not accept security-sensitive code without review.
  • I ask AI to explain tradeoffs, not just generate code.
  • I write or review tests myself.
  • I treat generated code as a draft.
  • I check dependencies before adding them.
  • I verify edge cases.
  • I do not let confident explanations hide real complexity.

The senior engineer advantage is not raw typing speed anymore. It is judgment under ambiguity.

Good Prompts Engineers Should Use

Most bad outcomes start with lazy prompts and even lazier review. Better prompts help, especially when they force the model to think about failure.

A few prompts I actually find useful:

Review this code for edge cases, security risks, and production-readiness issues.

Enter fullscreen mode Exit fullscreen mode

What assumptions does this implementation make, and which of them are risky?

Enter fullscreen mode Exit fullscreen mode

Generate unit tests for success, failure, boundary, and invalid input scenarios.

Enter fullscreen mode Exit fullscreen mode

Refactor this code for readability, testability, and maintainability without changing behavior.

Enter fullscreen mode Exit fullscreen mode

Explain what could go wrong if this code runs in production at scale.

Enter fullscreen mode Exit fullscreen mode

These prompts do not remove the need for engineering judgment. They just make AI more useful to an engineer who is already thinking like one.

Closing

Vibe coding is a great starting point. I use it often, and I think engineers who ignore AI tools are making life harder than it needs to be.

But software becomes valuable when people can trust it, and trust does not come from a convincing code generation. It comes from engineering discipline.

AI can absolutely make good engineers faster. It does not remove the need for judgment, accountability, or careful design. If anything, it makes those things more important.

The future does not belong to the people who can prompt the fastest. It belongs to the engineers who can combine AI speed with production discipline.