Back
Why Developers Still Choose Custom Code Over the Web Platform
SiTech AI Team3 min read

Why Developers Still Choose Custom Code Over the Web Platform

Why browser features are not always adopted comes down to history, familiarity, documentation gaps, the appeal of building tools, and incomplete platform knowledge. AI coding could improve reuse or intensify duplication.

History and familiarity

The case for using browser features instead of custom JavaScript rests on performance, usability and accessibility, but adoption has not always been straightforward. For much of web history, browsers lagged behind the wider web ecosystem. Libraries such as jQuery filled crucial gaps, and developers often had to wait for older browsers such as IE6 to age out before using newer APIs. In that environment, building on top of the browser was a sensible response. Familiarity still matters: React developers trained to find components on npm may search for a package before considering CSS or a browser API. Wrappers can make unfamiliar platform features easier to understand, while package documentation has often been easier to find than scattered references for the web platform. MDN later became the central documentation destination, with web.dev presented as Google's newer educational effort.

The appeal of building

For some developers, implementation itself is rewarding. A modal dialog may start with visible positioning and background scrolling, then require handling the Escape key, a focus trap and focus restoration. Developers can add animations, themes or a close button before turning the result into a reusable package. The source calls this an IKEA effect, because handmade code can inspire a desire to maintain and customize it. Custom tooling can also be a route to learning: the author worked on IndexedDB, WebSQL and storage tooling connected to PouchDB, later contributing to the IndexedDB specification. Earlier gaps in the platform encouraged polyfills, shims and libraries, helping create platform expertise.

Knowledge gaps and platform behavior

Not every custom solution reflects a reasoned tradeoff; some comes from incomplete knowledge. CSS features such as floats, the clear fix and min-width: 0 have been difficult to intuit, while common needs including line clamping, textarea resizing and scrollbar hiding lacked straightforward native solutions for years. Developers could express desired behavior more easily in JavaScript. A ClickHouse example produced the same result. One developer compressed large JSON before storage, while another put it in a separate key-value store and stored only a key in ClickHouse. After documentation review and benchmarking, they found that ClickHouse already compresses columnar data and provides better compression across rows, making the separate system slower and clunkier.

AI may change the balance

AI coding could push this behavior in either direction. The optimistic case is that large language models can draw on broad platform knowledge, select appropriate native APIs from vague requests and favor faster, more correct platform features after testing. Because developers write less code themselves, attachment to custom implementations may weaken. The pessimistic case is that models may recreate existing helpers, avoid platform conventions and generate elaborate solutions without enough testing. The author has seen both outcomes and cannot say which will dominate as models and coding harnesses improve. The conclusion is that using the platform remains valuable, but history, familiarity, documentation gaps, the pleasure of building and incomplete understanding help explain why developers still choose custom code.

SSiTech

SiTech — AI-powered web development

We build fast, modern websites and bring AI into real business workflows. Have a project or a question? We'd love to help.