4 min remaining
0%
人工智慧應用

程式是鋁:後稀缺工程師的生存宣言

發現軟體工程的範式轉變,程式如同鋁一樣可被隨意丟棄。釋放人工智慧的力量,徹底改變你的開發實踐。

4 min read
Progress tracked
4 分鐘閱讀·

黃詠晉,Mercury Technology Solutions的執行長。 東京 - 2026年1月16日

讓我們把時鐘撥回19世紀中葉。法國皇帝拿破崙三世正在舉辦一場宴會。賓客們依照階級分開。普通的公爵們用金銀餐具用餐。但皇帝呢?他用的是世界上最珍貴的金屬製成的盤子:鋁。

當時,提煉鋁是一場化學噩夢。它被稱為「工業的皇冠明珠」。然後,在1886年,霍爾-海魯特過程(電解法)被發明。電力成為新的槓桿。瞬間,生產成本驟降。原本專為皇帝保留的金屬,變成了可樂罐和一次性鋁箔的材料。

對於2026年的年輕工程師們:你們正身處電解室。你們的程式就是鋁。數十年來,我們將程式視為黃金,因為人類的思考週期是瓶頸。我們崇拜「乾淨程式」和「DRY」(不要重複自己),因為編寫邏輯是昂貴的。

那個時代已經結束。

1. 巨大的成本逆轉

我們正在目睹軟體開發中的殘酷經濟逆轉。

  • 閱讀程式碼(舊邏輯):仍然昂貴。人類解讀舊有的雜亂程式碼需要高認知負擔。
  • 生成程式碼(新邏輯):幾乎為零。人工智慧可以在毫秒內生成完美的語法。

洞察:浪費不再是「丟掉程式碼」。浪費是花費你寶貴的認知能量去保存那些更便宜重建的程式碼。

如果你花4小時重構一個舊有模組以「保存它」,你就是在用你的黃金(時間)換取市場上最便宜的鋁(語法)。

2. 框架:流體工程

要從「程式的守護者」進化為「人工智慧原生指揮官」,你必須採用流體工程。這裡有三個你需要的思維模型:A. 一次性策略

舊邏輯:

  • 「軟體必須建造得持久。寫一個一次性的工具是低效的。」新邏輯:
  • 程式是一種工具。像水一樣使用它。戰術:
  • 做安德烈·卡爾帕西所做的。當他需要檢查數據質量時,他不會修補現有的工具。他要求人工智慧寫一個定制的可視化應用程式,使用一次以獲得洞察,然後刪除它。指標:停止衡量「程式碼的長壽」。衡量
  • 洞察所需時間。B. 「乾淨的白板」協議舊邏輯:仔細

比較

  • 並修補。插入如果-否則語句以避免破壞依賴關係。新邏輯:不要閱讀。只需重寫。戰術:
  • New Logic: Don't Read. Just Rewrite.
  • The Tactic:當一個模組壞掉或需要更新時,不要成為「程式考古學家」。將舊程式碼提供給AI作為上下文,並說:「這是舊邏輯。這是新的需求。忘掉舊結構。以最佳方式重寫它。」
  • 結果:你立即消除了技術負債,因為你每天都在宣告「程式破產」。

C. 硬碰硬驗證

  • 舊邏輯:依賴資深工程師的直覺(「直覺感覺」),因為撰寫測試是繁瑣的。
  • 新邏輯:利用便宜的計算來換取昂貴的確定性。
  • 策略:不確定邏輯是否成立?不要猜。請AI生成20個對抗性測試案例。請它生成5種不同的演算法變體,讓它們互相測試。
  • 套利:你的時薪是100美元以上。AI的代幣成本是0.01美元。用代幣換取確定性。

3. 懷舊陷阱

這一轉變最大的障礙不是技術,而是情感依附。工程師有工匠的虛榮心。你覺得因為寫下這行程式碼,它就有靈魂。你拒絕AI的程式碼,因為它缺乏你的「風格」。

醒醒吧。市場並不在乎鋁箔是由工匠手工錘打還是機器滾壓的。它只在乎它是否能保持食物溫暖。穩定就是停滯。如果你拒絕刪除你的「手工製作」遺留程式碼,你將會在海底沉沒,手中握著沉重的無價金屬塊。

4. 靈魂:成為河流,而不是石匠

這是可怕的,但也是解放的。如果程式碼像水一樣便宜,那麼剩下的「黃金」是什麼?

它是判斷。它是上下文。它是問題定義。AI可以鋪設通往任何地方的軌道,但它不知道火車應該去哪裡。你不再是堆砌磚塊的石匠。你是水利工程師指揮水流。你的價值不在於你保留多少程式碼,而在於你敢於刪除多少。

下一步

今天就這樣做。

  1. 選擇一個你討厭維護的遺留功能。
  2. 不要閱讀它。
  3. 寫下輸入/輸出需求。
  4. 請AI生成一個全新的版本。
  5. 刪除舊檔案。

感受廢棄的自由。這是你進入AI原生時代的成年禮。

水銀科技解決方案:加速數位化。

Frequently Asked Questions

What does it mean to treat code like aluminum?

Treating code like aluminum means viewing it as a disposable utility rather than a precious resource. This perspective encourages software engineers to embrace the idea of quickly generating and deleting code as needed, similar to how aluminum can be easily produced and discarded.

How can AI improve software development practices?

AI can significantly enhance software development by generating code quickly and accurately, reducing the cognitive load on engineers. This allows developers to focus on defining problems and guiding solutions rather than getting bogged down in the intricacies of legacy code.

What is the Disposable Strategy in Fluid Engineering?

The Disposable Strategy encourages engineers to treat code as a temporary tool rather than a permanent fixture. By creating one-off applications for specific tasks and discarding them after use, developers can optimize their time and resources, leading to faster insights and reduced technical debt.

Why is emotional attachment to code a barrier to progress?

Emotional attachment to code can hinder engineers from embracing new methodologies and technologies like AI. This attachment often leads to resistance in deleting legacy code, which can result in stagnation and inefficiency, as engineers may prioritize preserving their work over optimizing processes.

What is the significance of judgment and context in the AI-native era?

In the AI-native era, the value of engineers shifts from code creation to providing judgment and context for problem-solving. While AI can generate code, human expertise is essential for defining goals, understanding requirements, and ensuring that solutions align with business needs.