NewsCrawler.org

Outsourced vs big-company frontend code: the difference shows at 3 AM

A Juejin article argues that the gap between frontend code from outsourcing vendors and from large product companies comes from incentives, not ability: vendors bill per project and per person-day and wrap up after acceptance, while big-company systems run for years, where one hidden bug can turn into an incident affecting millions of users. After going through years of client-versus-vendor complaints on V2EX, the author splits the 'invisible code' difference into five layers — end-to-end input validation, system-level structure, exception handling, observability and security — noting that vendor code covers only the happy path[1] where APIs return 200 and users behave as expected. localStorage leaves a page defenseless against XSS[2], so big companies hide defenses in HttpOnly cookies[3], input escaping and a Content Security Policy (CSP) — none of which appear on an acceptance checklist. The 2026 variable: AI makes happy-path code nearly free, and in one V2EX thread a client expecting 60,000 lines received 180,000, mostly AI-generated, which weakens the 'outsourcing is cheaper' premise. Value is shifting to defining what counts as correct — acceptance criteria, exception paths, monitoring — and to the invisible error handling you can carry between jobs, whether or not a P0[4] call ever wakes you at 3 a.m.

Read the original juejin.cn

Sources

  • CNJuejin ZH

    外包和大厂的前端代码,差在凌晨三点

    3 likes336 views0 comments4 saves

Published: First seen: Читать по-русски

Open as a page