AI應編寫你50%以上的程式碼

AI應編寫你50%以上的程式碼

Hacker News·

作者認為開發者必須擁抱AI進行程式碼生成,AI編寫超過50%的程式碼將成為競爭力的必要條件。Sonnet 4.5等技術的進步使其成為可能,並將競爭優勢從程式碼本身轉移到領域專業知識、速度和分發上。

Image

Gabe Mays

AI should write 50%+ of your code

If AI isn’t writing 50%+ of your code by the end of the year, you’re moving too slow and you’ll get lapped by the next competitor who does. The bar will be 90%+ soon after (for me it’s over 99%).

Sonnet 4.5 changed the game

There may have been an excuse before, but not since Sonnet 4.5 released. If you try it and think it’s still not good enough, you’re probably using it wrong. And it’ll only get harder to adapt as it evolves, so start now.

There’s been a paradigm shift in leverage. Your codebase isn’t an artisanal snowflake that’s too pure for “AI slop”. Code is no longer the IP since it’s so cheap to generate.

This is more important than it seems because 1) it compounds as AI improves and 2) it takes time for people and projects to adapt. The longer you wait, the harder it is and the further behind you get.

Changing moats

The meaningful moats now are domain expertise (what), taste (how), speed and brand/distribution (e.g network effects, etc.) along with the feedback/iteration loops.

Over the last couple years I’ve heard folks mention the possibility of a $1B solo founder. I now see how it’s possible. It’ll still take a lot of luck (right person, right problem, right time), but I do see how it’s possible.

Not just me

This clicked for me over the last couple weeks as I experimented with a project where AI wrote 99% of the code. I initially used Opus to help with planning/design, which was incredibly expensive and untenable. Then Sonnet 4.5 dropped in the middle of it, which changed the calculus.

Then I saw this, which made it clear it’s not just me AND not just Sonnet 4.5:

it’s difficult to overstate how important Codex has been to our team’s ability to ship new products. for example: the drag and drop agent builder we launched today was built end to end in under 6 weeks, thanks to Codex writing 80% of the PRs

Easier to start from scratch

If your company/team isn’t AI native, it’s often easier to just start from scratch than try to adapt an existing project.

I learned that after building or being involved in half a dozen “AI” projects since AI went mainstream in late 2022/early 2023.

Over the last two weeks is the first time I decided to just start completely AI native (beginning with planning). It’s much easier and moves much faster.

Update: Opus 4.5 and Gemini 3 dropped since I originally wrote this and wow, it’s even more true now. If you’re using something like Cursor my go to is to plan with Opus 4.5 and execute with a cheaper model like Gemini Flash 3 or GPT Codex 5.1 Max.

New models will continue to emerge, but the patter is the same: Analyze and plan with the smart/expensive model, execute with a good but cheaper one.

Welcome to the future.

Image

Image

Gabe Mays

Semper esurientem.

Hacker News

相關文章

  1. AI 如何讓軟體與公司變得更好

    3 個月前

  2. 當AI幾乎包辦所有程式碼時,軟體工程將何去何從?

    4 個月前

  3. 個人筆記:當AI包辦大部分程式碼時,我需要掌握的技能

    4 個月前

  4. 我們都是創投家了:開發者在AI時代所需的新技能

    3 個月前

  5. AI 正在迫使我們編寫優質程式碼

    4 個月前