AI編碼趨勢:工程師該擔心嗎?

Ai




AI 是編碼 AI——軟件工程師應該擔心嗎?

根據最近的 GitHub 調查,97% 的開發者正在使用 AI 編碼工具,這些工具的使用情況因項目而異。

谷歌 CEO 的驚人聲明

谷歌 CEO 蘇達爾·皮查伊最近透露,AI 在這家科技公司生成了超過四分之一的新代碼。這一聲明引發了網絡上的震撼,並引發了人們對於隨著 AI 開始處理更複雜的編碼工作,這對於軟件工程師和開發者意味著什麼的討論。

在最近的季度財報電話會議上,皮查伊表示,工程師首先會審查然後接受 AI 生成的代碼。他補充說:“這幫助工程師更高效地工作。”

然而,有谷歌員工在 Hacker News 上匿名透露,AI 僅僅作為一個自動完成工具,主要能夠完成代碼行。“代碼自動完成引擎基本上只是擅長完成我正在寫的行。如果我寫的是 ‘function getAc…’,它足夠聰明地完成為 ‘function getActionHandler()’……但它根本沒有進行任何工程設計,”該員工進一步表示。

另一位谷歌軟件工程師則提供了更多見解,解釋說許多 AI 生成的代碼主要集中在維護和清理任務,而非實際的功能開發。這位技術人員指出,皮查伊所提到的主要是“清理依賴關係、刪除過時類別或更改部署配置的工作”。他還補充說:“在功能方面,這根本不是功能開發。”

開發者的擔憂

隨著討論的深入,許多開發者表達了他們的擔憂,並分享了不同的反應。一位來自谷歌的開發者強調了潛在的長期風險,認為沒有專門人工作者的 AI 生成代碼可能會導致未來重大的維護和質量問題。“而現在我們有谷歌,這個谷歌,將沒有作者的代碼直接扔進他們的產品。這真是一場混亂。我無法想像五年或十年後會是什麼樣子,但我對於未來並不抱信心,”該內部人士表示。

另一位開發者則指出,雖然 AI 可以協助處理基本任務,但在複雜的業務邏輯中,人類的介入仍然至關重要,這讓人對 AI 能否獨立生成完全功能的代碼產生懷疑。“對於任何實際的代碼,當我讓 Copilot 寫的時候,我最終幾乎都要從頭重寫,或者編輯到幾乎無法辨認的程度,特別是對於比基本算法更複雜的業務邏輯,”該開發者分享道。

並非所有情況都那麼糟糕

在 GitHub Universe 2024 上,即使是 GitHub CEO 湯瑪斯·多姆克也表示,開發者正在引領 AI 的未來,不僅在構建 AI,還在利用 AI 工具來構建更智能的系統。“你們正在使用 AI 來構建 AI。你們已經為與智能機器合作所意味著的事奠定了基礎,”他補充道。

他進一步表示,開發者比全球任何行業的工作人員都更快地接受了 AI。這使得 GitHub Copilot 成為全球最廣泛使用的工具,而 Python 在 AI 編程中占據主導地位。

AI 的未來

多姆克提到,GitHub Copilot 的第一階段建立在三個關鍵支柱上,其中第一個支柱是 AI 融合。“它們是在開發者生命周期的不同接觸點進行 AI 集成。但如果你想避免使用 AI,自行構建所有內容也是可以的,”他聲稱。

根據多姆克的說法,第一階段的第二個支柱是對話式編碼。他提到 ChatGPT 和 Copilot 聊天機器人為“類似 Jarvis 的代碼交互奠定了基礎,這是一個類似鋼鐵人 Jarvis 的工具,使任何人都能使用自然語言創建代碼”。

第一階段的第三個支柱則是多模型。“我們是以多模型功能構建的,為特定用例提供一個默認模型,”多姆克提到,GPT-3.5 用於自動補全或 GPT-4o 用於工作空間。

多姆克暗示即將到來的變化,表示“開發者與 AI 的合作將進入下一個層次。”他介紹了第二階段,表示這將不再是 AI 融合,而是 AI 原生。“AI 是核心,無法與整個開發者體驗分開。總的來說,我們將看到原生的開發者工作流程,”多姆克補充道。

結語

AI 不僅僅用於編碼,GitHub 還在利用 AI 來評估 AI。例如,Copilot Autofix 利用 CodeQL 引擎、GPT-4o 和一系列啟發式方法及 GitHub Copilot API 來生成代碼建議。這樣,安全團隊可以在解決現有漏洞的積壓問題上取得實際進展,這些問題通常被稱為安全債務。

雖然 GitHub Copilot Autofix 採用了自動測試、紅隊審查和過濾來減少風險,但專家強調自我驗證 AI 系統的局限性,認為依賴另一個 AI 模型進行審查可能存在冗餘和成本挑戰。“很難用 AI 來信任 AI,因為人們經常會忽略自己的錯誤,”Pantheon 的首席技術官大衛·提摩西·斯特勞斯表示。

總之,AI 在解決複雜問題的能力上顯然正在進步。編碼傳統上涉及兩個主要操作:確定如何解決問題,然後編寫代碼以實現解決方案。後者,即實際編碼部分,可能正處於被 AI 轉變的邊緣。

隨著 AI 的發展,未來的軟件工程師將面臨新的機遇和挑戰。AI 不僅有潛力加速產品開發,還能通過自動化繁瑣的編碼任務來創造更多的工作機會。這一切都表明,儘管面臨挑戰,AI 的進步將為行業帶來更多的可能性。

在這樣的背景下,開發者們應該如何應對這一變化?他們需要重新審視自己的技能,並考慮如何與 AI 工具合作,以最大化他們的生產力和創造力。

以上文章由特價GPT API KEY所翻譯及撰寫。而圖片則由FLUX根據內容自動生成。

🎬 YouTube Premium 家庭 Plan成員一位 只需 HK$148/年

不用提供密碼、不用VPN、無需轉區
直接升級你的香港帳號 ➜ 即享 YouTube + YouTube Music 無廣告播放

立即升級 🔗

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

🎨 Nano Banana Pro 圖像生成器|打幾句說話就出圖

想畫人像、產品圖、插畫?SSFuture 圖像生成器支援 Flux Gemini Nano Banana Pro 改圖 / 合成, 打廣東話都得,仲可以沿用上一張圖繼續微調。

🆓 Flux 模型即玩,不用登入
🤖 登入後解鎖 Gemini 改圖
📷 支援上載參考圖再生成
⚡ 每天免費額度任你玩
✨ 即刻玩 AI 畫圖
[Enhanced Artistic Prompt]

A highly detailed portrait of a young Asian woman inspired by the delicate, doll-like beauty of Imada Mio (精緻洋娃娃臉). She has large, round, luminous eyes with a deep, expressive gaze, a petite V-shaped face, full rosy cheeks, and porcelain-soft skin. Her expression is a captivating blend of innocence, youthful energy, and subtle flirtation, capturing an aura of pure allure.

Her hair is long, dark chocolate brown, with natural volume and texture—slightly tousled in an artful, “just woke up” messy style (剛睡醒的凌亂感), with soft strands falling over her face and shoulders. She wears an oversized, semi-translucent white button-down boyfriend shirt (男友風白襯衫), loosely draped and unbuttoned at the top, elegantly revealing her collarbones and creating a “bottomless” fashion look (下衣失蹤風格) with a sense of relaxed intimacy.

The overall aesthetic is reminiscent of a contemporary Japanese Gravure photobook (寫真集風格), evoking both pure charm and subtle sensuality (Pure & Sexy vibe). Use bright, high-key natural lighting to create a soft, ethereal glow, with smooth, radiant skin texture. Emphasize pastel color grading and gentle film grain, referencing the signature look of Fujifilm PRO 400H for a dreamy, cinematic finish. Compose the image artistically, focusing on beauty, mood, and expressive detail, as if captured in a candid, intimate moment.

— full body or mid-length portrait, shallow depth of field, delicate highlights, softly blurred minimalist background, inviting eyes, tasteful and elegant composition. A low-angle, wide-lens street shot in a bustling cityscape (similar to Shibuya, Tokyo). A young woman crouches confidently beside a modified, glossy purple sports car with a Japanese license plate. She wears a black graphic tee, cargo pants, white sneakers, and silver jewelry. The background features tall glass skyscrapers, colorful billboards, neon signage, and warm late-afternoon lighting. Strong perspective distortion emphasizes the height of the buildings and the car’s aggressive stance. The mood is stylish, bold, and modern, capturing urban automotive culture with a cinematic, hyper-real aesthetic. High detail, high contrast, crisp reflections, editorial fashion vibe, dynamic street energy. Create a hyper-realistic 8K close-up body portrait of a female model, using the uploaded photo as the exact facial reference. Maintain 100% accuracy of the facial features — do not alter or modify any aspect of the face. Render the skin texture, lighting, and overall composition with photo-realistic detail, ensuring lifelike color tones and natural depth of field. A man with his original hair is sitting casually on a white cube, smiling warmly at the camera. He is wearing a cream-colored cable-knit sweater, blue jeans, and brown loafers. His legs are crossed, with one hand resting on his knee.
The background reveals a cozy and festive living room. A large, beautifully decorated Christmas tree with numerous warm lights and gold ornaments stands prominently behind him. Several wrapped gift boxes are visible at the base of the tree. To his left, another smaller decorated Christmas tree and a wreath on the wall further enhance the holiday atmosphere. The lighting is soft and inviting, creating a warm and welcoming scene.