<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HTML + CSS + JavaScript</title>
	<atom:link href="https://htmlcssjavascript.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://htmlcssjavascript.com</link>
	<description>Let&#039;s Build the Web We Want</description>
	<lastBuildDate>Tue, 17 Nov 2026 18:06:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>
	<item>
		<title>The Three-User App vs. The World Cup: Small Scale is Scary!</title>
		<link>https://htmlcssjavascript.com/web/the-three-user-app-vs-the-world-cup-small-scale-is-scary/</link>
					<comments>https://htmlcssjavascript.com/web/the-three-user-app-vs-the-world-cup-small-scale-is-scary/#respond</comments>
		
		<dc:creator><![CDATA[Rob Larsen]]></dc:creator>
		<pubDate>Tue, 17 Nov 2026 18:06:21 +0000</pubDate>
				<category><![CDATA[Performance]]></category>
		<category><![CDATA[Web]]></category>
		<guid isPermaLink="false">https://htmlcssjavascript.com/?p=11528</guid>

					<description><![CDATA[Software engineering is obsessed with hyper-scale. We trade war stories about handling tens of millions of concurrent requests. We build distributed clusters, fine-tune CDN caching policies, obsess over latency, and sanitize every payload on the defensive assumption that an anonymous botnet somewhere on the other side of the world is trying to break our system. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading"></h1>



<p class="wp-block-paragraph"><strong>Software engineering is obsessed with hyper-scale.</strong></p>



<p class="wp-block-paragraph">We trade war stories about handling tens of millions of concurrent requests. We build distributed clusters, fine-tune CDN caching policies, obsess over latency, and sanitize every payload on the defensive assumption that an anonymous botnet somewhere on the other side of the world is trying to break our system.</p>



<p class="wp-block-paragraph">Over the course of my career, I&#8217;ve operated at both extremes of that spectrum.</p>



<p class="wp-block-paragraph">On one end, I&#8217;ve worked on projects with truly global audiences: an Adidas World Cup campaign, a Samsung Olympics Facebook application, and a Motorola campaign that included Times Square billboards.</p>



<p class="wp-block-paragraph">On the other end, I&#8217;ve spent months building an internal dashboard at a financial services firm where the entire user base consisted of exactly <strong>three people</strong>.</p>



<p class="wp-block-paragraph">And then there&#8217;s the high-stakes middle ground: the customer portal for another financial services firm. Hundreds of active users. Hardly a blip on an Azure network graph, but those users represented some of the largest pools of capital in the world. Sovereign wealth funds, major pension systems, and university endowments allocating billions of dollars.</p>



<p class="wp-block-paragraph">Operating across those extremes reveals a surprising truth:</p>



<p class="wp-block-paragraph"><strong>Writing software for three people is often significantly more stressful than engineering for ten million.</strong></p>



<h2 class="wp-block-heading">The Luxury of the Faceless Crowd</h2>



<p class="wp-block-paragraph">When you engineer for a global consumer audience, users become an abstract statistical blob.</p>



<p class="wp-block-paragraph">If a retail checkout flow stumbles for fifteen seconds during Spain vs. Germany, maybe you lose a fraction of a percent in conversion. It&#8217;s an expensive metric on an analytics dashboard, and someone will absolutely want to know why it happened, but it&#8217;s still impersonal.</p>



<p class="wp-block-paragraph">Nobody shows up at your desk demanding to know why they personally couldn&#8217;t buy the Thomas Müller jersey they&#8217;d been eyeing all week.</p>



<p class="wp-block-paragraph">If a public system flakes out and production throws an unhandled exception, Datadog or Sentry catches the stack trace, creates an incident, and the team works through the regression.</p>



<p class="wp-block-paragraph">In consumer software, scale eventually becomes an engineering problem. A difficult engineering problem, certainly, but still one that&#8217;s solved with architecture, monitoring, capacity planning, and guardrails.</p>



<p class="wp-block-paragraph">The challenge is volume.</p>



<h2 class="wp-block-heading">The 500-User Power Dynamic</h2>



<p class="wp-block-paragraph">The dynamic changes when you move into institutional software.</p>



<p class="wp-block-paragraph">Five hundred users won&#8217;t stress an autoscaling group. An architecture sketched on a whiteboard over coffee could probably handle the traffic.</p>



<p class="wp-block-paragraph">The challenge isn&#8217;t throughput. It&#8217;s leverage.</p>



<p class="wp-block-paragraph">If an ecommerce platform hiccups during a holiday sale, a shopper refreshes the page or buys their sneakers somewhere else.</p>



<p class="wp-block-paragraph">If an institutional investor has trouble logging in, can&#8217;t access portfolio data, or sees something unexpected on a report, they don&#8217;t submit a Zendesk ticket.</p>



<p class="wp-block-paragraph">They might call a Managing Partner on their personal cell phone.</p>



<p class="wp-block-paragraph">The operational risk shifts from <em>concurrency</em> to <em>consequence</em>.</p>



<p class="wp-block-paragraph">You aren&#8217;t engineering for throughput. You&#8217;re engineering for auditability, zero-defect data integrity, regulatory scrutiny, and institutional trust.</p>



<p class="wp-block-paragraph">When every user is effectively a VIP, mistakes carry a very different kind of weight.</p>



<p class="wp-block-paragraph">The challenge is consequence.</p>



<h2 class="wp-block-heading">The Intimacy of the Three-User App</h2>



<p class="wp-block-paragraph">Then there&#8217;s the three-user application.</p>



<p class="wp-block-paragraph">This is where many of the conventional assumptions about software engineering start to invert.</p>



<p class="wp-block-paragraph">The first thing you learn is that a three-person application isn&#8217;t evaluated by architectural elegance or test coverage.</p>



<p class="wp-block-paragraph">It&#8217;s evaluated by whether it disrupts a workflow habit that somebody built over fifteen years.</p>



<p class="wp-block-paragraph">Your observability stack suddenly becomes much more important. It&#8217;s far better to tell Dave on the bond desk that you&#8217;ve already identified a performance issue than to receive a giant Teams message informing you that the application takes too long to load.</p>



<p class="wp-block-paragraph">The luxury of abstract requirements disappears.</p>



<p class="wp-block-paragraph">Consumer software can often dictate how users should behave, for better or worse. Internal software starts from a different place: how specific humans already work.</p>



<p class="wp-block-paragraph">Sometimes you can improve those workflows.</p>



<p class="wp-block-paragraph">Sometimes you can&#8217;t.</p>



<p class="wp-block-paragraph">Sometimes the technically correct solution loses to a spreadsheet someone has trusted for a decade and a half.</p>



<p class="wp-block-paragraph">In a three-user environment, technical debt isn&#8217;t an abstract ledger entry.</p>



<p class="wp-block-paragraph">It&#8217;s a daily interpersonal negotiation.</p>



<p class="wp-block-paragraph">You can&#8217;t hide behind metrics.</p>



<p class="wp-block-paragraph">You can&#8217;t disappear into aggregate dashboards.</p>



<p class="wp-block-paragraph">You know exactly who uses the application, they know exactly who built it, and everyone involved can message each other directly.</p>



<p class="wp-block-paragraph">The challenge is accountability.</p>



<h2 class="wp-block-heading">The Different Faces of Scale</h2>



<p class="wp-block-paragraph">We tend to measure scale through numbers:</p>



<ul class="wp-block-list">
<li>Requests per second</li>



<li>Daily active users</li>



<li>Database size</li>



<li>Terabytes ingested</li>
</ul>



<p class="wp-block-paragraph">But volume is only one axis of complexity.</p>



<ol class="wp-block-list">
<li><strong>Consumer Scale (Millions of Users):</strong> The challenge of <strong>distributed systems</strong>. High volume, low intimacy, low consequence per individual interaction.</li>



<li><strong>Institutional Scale (Hundreds of Users):</strong> The challenge of <strong>high leverage</strong>. Low volume, moderate intimacy, significant consequence per interaction.</li>



<li><strong>Micro-Cohort Scale (Fewer Than Ten Users):</strong> The challenge of <strong>human psychology</strong>. Minimal volume, maximum intimacy, immediate personal accountability.</li>
</ol>



<p class="wp-block-paragraph">Handling ten million concurrent fans during the World Cup is a distributed-systems problem.</p>



<p class="wp-block-paragraph">Supporting five hundred institutional investors is a trust problem.</p>



<p class="wp-block-paragraph">Supporting three colleagues sitting one floor below you is a relationship problem.</p>



<p class="wp-block-paragraph">Software engineering loves to talk about scale as a matter of volume.</p>



<p class="wp-block-paragraph">In practice, scale is just as often a matter of consequence and proximity.</p>



<p class="wp-block-paragraph">Sometimes the scariest production system in the building is the one with three users.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://htmlcssjavascript.com/web/the-three-user-app-vs-the-world-cup-small-scale-is-scary/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>The Fork-and-Edit Sin: Why I Took on Deliberate Tech Debt (And Paid It Off with Tokens)</title>
		<link>https://htmlcssjavascript.com/web/the-fork-and-edit-sin-why-i-took-on-deliberate-tech-debt-and-paid-it-off-with-tokens/</link>
					<comments>https://htmlcssjavascript.com/web/the-fork-and-edit-sin-why-i-took-on-deliberate-tech-debt-and-paid-it-off-with-tokens/#respond</comments>
		
		<dc:creator><![CDATA[Rob Larsen]]></dc:creator>
		<pubDate>Wed, 11 Nov 2026 13:45:05 +0000</pubDate>
				<category><![CDATA[Web]]></category>
		<guid isPermaLink="false">https://htmlcssjavascript.com/?p=11525</guid>

					<description><![CDATA[Every seasoned software engineer has an internal alarm that rings the second they duplicate code. We’ve had the rules beaten into us for decades: Don’t Repeat Yourself (DRY). Abstract early. Build configurable components. How about- never fork a whole repo just to swap out data 😂 Last week, I ignored every single one of those [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Every seasoned software engineer has an internal alarm that rings the second they duplicate code.</p>



<p class="wp-block-paragraph">We’ve had the rules beaten into us for decades: Don’t Repeat Yourself (DRY). Abstract early. Build configurable components. How about- never fork a whole repo just to swap out data <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f602.png" alt="😂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p class="wp-block-paragraph">Last week, I ignored every single one of those rules. On purpose.</p>



<p class="wp-block-paragraph">I had already built a deep, interactive data visualization mapping the census distribution of the <a href="https://itsalljustcomics.com/a-visualization-of-the-cgc-census-of-the-overstreet-top-twenty-golden-age-comic-books/">20 Golden Age comic book keys</a>. As any good data visualization that tells a story should be- it  was handcrafted.</p>



<p class="wp-block-paragraph">Then came time to build the Silver Age version.</p>



<p class="wp-block-paragraph">The &#8220;correct&#8221; software engineering approach was obvious: pause, step back, extract the rendering engine into a shared, configurable library, parameterize the data, and build a unified architecture that could ingest either era. That would make the inevitable Bronze Age version so easy! <em>A no-brainer. </em></p>



<p class="wp-block-paragraph">The thing is, doing that properly would have taken hours of typing before I even touched the new dataset. And with data visualization, code is only half the battle—the actual value comes from human interaction with the data. You need to see how the data actually <strong>visualizes</strong>, how the labels overlap, and how the narrative feels on screen.</p>



<p class="wp-block-paragraph">So, I committed the cardinal sin of software development:</p>



<p class="wp-block-paragraph">I forked the Golden Age repo, and edited the code in place.</p>



<h2 class="wp-block-heading">The Old Cost of Technical Debt vs. The New Reality</h2>



<p class="wp-block-paragraph">In 2018, doing that was reckless. You were creating two diverging codebases. Any bug fix in the core layout logic had to be manually ported. You were saddling your future self with an afternoon of tedious, soul-crushing refactoring.</p>



<p class="wp-block-paragraph">In 2026, the calculus has fundamentally changed.</p>



<p class="wp-block-paragraph">I knew the fork was &#8220;stupid&#8221; in the traditional sense. But I also knew two critical things:</p>



<ul class="wp-block-list">
<li>Speed to human insight is all that mattered in the moment. Copy-pasting the repo got the Silver Age visualization alive and interactive in minutes, letting me focus on the actual content and UX nuances.</li>
</ul>



<ul class="wp-block-list">
<li>AI has reduced the marginal cost of architectural consolidation to essentially zero.</li>
</ul>



<p class="wp-block-paragraph">I deliberately accrued human technical debt because I knew I wasn&#8217;t going to have to manually pay it back. I was going to throw tokens at it.</p>



<h2 class="wp-block-heading">The Cleanup: Delegating the Merge</h2>



<p class="wp-block-paragraph">Once both visualizations were built and validated, the architectural cleanup was trivial.</p>



<p class="wp-block-paragraph">Instead of sitting there trying to unify two divergent codebases and then ensure they were properly abstracted, I fed both implementations to an LLM alongside clear constraints:</p>



<ul class="wp-block-list">
<li>Extract the shared DOM and SVG rendering code into a single Age agnostic engine.</li>



<li>Parameterize the data so that differences between eras (census grading ranges, era-specific metadata) were handled via configuration, not logic.</li>



<li>Ensure the two variations remain intact</li>
</ul>



<p class="wp-block-paragraph">What used to be a half-day chore of tedious refactoring turned into a ten-minute code review after the agent was done. The AI did the structural heavy lifting of turning two copy-pasted implementations into a clean, reusable architecture.</p>



<h2 class="wp-block-heading">Intentional Debt as a Strategic Tool</h2>



<p class="wp-block-paragraph">Engineers often treat technical debt as an accidental failure of discipline. But technical debt is called debt for a reason: sometimes borrowing against the future is the rational financial choice to seize an immediate opportunity.</p>



<p class="wp-block-paragraph">The difference today is the interest rate.</p>



<p class="wp-block-paragraph">Historically, the interest rate on copy-paste technical debt was usurious. You paid for it in drift, regressions, and manual cleanup. Today, when the cleanup consists of prompting a model to normalize data and extract abstractions, the interest rate has collapsed.</p>



<p class="wp-block-paragraph">If your core bottleneck is human creativity, analysis, or design validation, don’t let architectural purity stall your momentum. Write the dirty script. Fork the repo. Edit in place. Ship the insight.</p>



<p class="wp-block-paragraph">You can always let the machines clean up your mess on Monday morning.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://htmlcssjavascript.com/web/the-fork-and-edit-sin-why-i-took-on-deliberate-tech-debt-and-paid-it-off-with-tokens/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>When the Web Was Actively Trying to Kill You: A Field Guide to Early Front-End Lore</title>
		<link>https://htmlcssjavascript.com/web/when-the-web-was-actively-trying-to-kill-you-a-field-guide-to-early-front-end-lore/</link>
					<comments>https://htmlcssjavascript.com/web/when-the-web-was-actively-trying-to-kill-you-a-field-guide-to-early-front-end-lore/#respond</comments>
		
		<dc:creator><![CDATA[Rob Larsen]]></dc:creator>
		<pubDate>Wed, 21 Oct 2026 18:59:31 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[h5bp]]></category>
		<category><![CDATA[philosophy]]></category>
		<guid isPermaLink="false">https://htmlcssjavascript.com/?p=11522</guid>

					<description><![CDATA[In the ongoing retrospective series I have kicked off on LinkedIn and YouTube about the maturation of the web platform, I am going to be focusing on how Boston and Cambridge served as ground zero for modern front-end engineering between 2008 and 2013. We will talk about the launch of HTML5 Boilerplate, the transition to [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In the ongoing retrospective series I have kicked off on LinkedIn and YouTube about the maturation of the web platform, I am going to be focusing on how Boston and Cambridge served as ground zero for modern front-end engineering between 2008 and 2013.</p>



<p class="wp-block-paragraph">We will talk about the launch of HTML5 Boilerplate, the transition to automated build systems, and the moments JavaScript went from a despised browser toy to an enterprise-grade discipline.</p>



<p class="wp-block-paragraph">Before you can fully appreciate why we spent so much energy building those tools, you have to understand the hostile operating environment we were trying to escape.</p>



<p class="wp-block-paragraph">If you entered front-end engineering in the last decade, you grew up believing browsers are cooperative runtimes. You think a rendering engine is broken if a CSS flexbox rule behaves unexpectedly on mobile Safari.</p>



<p class="wp-block-paragraph">Let me take you back to an era when the web platform was pure trench warfare.</p>



<h4 class="wp-block-heading">1. Table Layouts and the Load-Bearing Spacer GIF</h4>



<p class="wp-block-paragraph">Before CSS layouts stabilized, we did not align elements with math or anything approaching an elegant solution. We built layouts through structural abuse. If a client needed a header, a navigation sidebar, and a three-column content area, that meant nesting <code>&lt;table></code> tags seven layers deep.</p>



<p class="wp-block-paragraph">To prevent empty table cells from collapsing, every commercial website on earth carried an invisible architectural wedge: the transparent one-pixel GIF (<code>spacer.gif</code>). You set its width and height explicitly in HTML attributes to physically pry open cells like a car jack. Miss one closing tag, and the entire page shattered into disconnected tiles.</p>



<h4 class="wp-block-heading">2. DHTML and the ActiveX Precursor to AJAX</h4>



<p class="wp-block-paragraph">In the late nineties and early 2000s, &#8220;Dynamic HTML&#8221; was the buzzword. In practice, DHTML was just marketing speak for Netscape and Microsoft waging open warfare inside your script files.</p>



<p class="wp-block-paragraph">Netscape 4 gave us <code>document.layers</code>. Internet Explorer gave us <code>document.all</code>. If you wanted an element to move across the screen, you sniffed the user-agent string and maintained two parallel codebases in the same file.</p>



<p class="wp-block-paragraph">Asynchronous data loading was even wilder. Back in August 2008, I wrote an article titled <em><a href="https://htmlcssjavascript.com/web/some-internet-explorer-innovations-you-probably-forgot-about-while-waiting-for-ie6-to-die/" data-type="post" data-id="4743">&#8220;Some Internet Explorer Innovations You Probably Forgot About While Waiting for IE6 to Die.&#8221;</a></em> It hit the front page of Digg(? Slashdot? One of those.) My argument was straightforward: despite everything IE got wrong, Microsoft effectively invented AJAX.</p>



<p class="wp-block-paragraph">Before <code>fetch()</code> or standardized <code>XMLHttpRequest</code>, you did not invoke a native browser API. In Internet Explorer, you initialized an actual Windows COM component: <code>new ActiveXObject("Microsoft.XMLHTTP")</code>. You had to wake up the underlying Windows operating system just to update a fragment of text without triggering a full page reload.</p>



<h4 class="wp-block-heading">3. The Mark of the Web</h4>



<p class="wp-block-paragraph">Local development during the Windows XP Service Pack 2 era came with its own brand of security theater. If you opened a local HTML file directly from your hard drive that contained any JavaScript, Internet Explorer threw an aggressive yellow warning banner across the viewport and froze script execution.</p>



<p class="wp-block-paragraph">The official Microsoft workaround was a magic comment pasted at the very top of your HTML:</p>



<p class="wp-block-paragraph"><code>&lt;!-- saved from url=(0014)about:internet --&gt;</code></p>



<p class="wp-block-paragraph">The <code>14</code> represented the exact character count of <code>about:internet</code>. If your character count was off by one, the parser disregarded the directive and your local scripts remained locked down.</p>



<h4 class="wp-block-heading">4. The Occult Arts: <code>hasLayout</code>, <code>zoom: 1</code>, and DirectX Filters</h4>



<p class="wp-block-paragraph">Once CSS finally took over layout, Internet Explorer 6 introduced developers to <code>hasLayout</code>. It was an undocumented internal engine flag. If an element lacked layout, margins doubled on floats, background colors vanished, and containers refused to contain their children.</p>



<p class="wp-block-paragraph">To fix it, we resorted to superstition. You injected <code>zoom: 1</code> or <code>height: 1%</code> into your stylesheets. The properties had no logical business being there, but they tricked Trident into setting that internal flag to true.</p>



<p class="wp-block-paragraph">Transparent PNGs were worse. IE6 rendered 24-bit alpha channels as solid matte-gray or baby-blue blocks. In a 2006 tutorial I published on cross-browser PNG transparency, the only viable solution was running proprietary Microsoft DirectX filters:</p>



<p class="wp-block-paragraph"><code>filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='image.png', sizingMethod='crop');</code></p>



<p class="wp-block-paragraph">It destroyed scrolling performance, broke hyperlink click targets, and required <code>hasLayout</code> to be toggled on just to render the graphic.</p>



<h4 class="wp-block-heading">Why We Built What We Built</h4>



<p class="wp-block-paragraph">We did not invent modern front-end tooling because we were bored and wanted complex build pipelines. We built automated builds, linting, reset sheets, and boilerplates because we spent our twenties writing duct tape around runtimes that actively fought us.</p>



<p class="wp-block-paragraph">The next time your build step throws a type warning or a CSS grid gap requires a minor fallback, take a breath. It beats debugging <code>spacer.gif</code> and toggling <code>zoom: 1</code> at 2:00 AM.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://htmlcssjavascript.com/web/when-the-web-was-actively-trying-to-kill-you-a-field-guide-to-early-front-end-lore/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>TypeScript Won. Now It&#8217;s Giving Up Its Superpowers.</title>
		<link>https://htmlcssjavascript.com/web/typescript-won-now-its-giving-up-its-superpowers/</link>
					<comments>https://htmlcssjavascript.com/web/typescript-won-now-its-giving-up-its-superpowers/#respond</comments>
		
		<dc:creator><![CDATA[Rob Larsen]]></dc:creator>
		<pubDate>Tue, 13 Oct 2026 16:49:43 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[typescript]]></category>
		<guid isPermaLink="false">https://htmlcssjavascript.com/?p=11518</guid>

					<description><![CDATA[When you spin up a greenfield project on a Tuesday afternoon, a build step feels like a completely reasonable trade-off. You install a bundler, configure a transpiler, sprinkle in a few TypeScript-specific conveniences, and marvel at the developer ergonomics. Having the compiler quietly invent runtime JavaScript out of thin air to support an enum, a [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading"></h1>



<p class="wp-block-paragraph">When you spin up a greenfield project on a Tuesday afternoon, a build step feels like a completely reasonable trade-off.</p>



<p class="wp-block-paragraph">You install a bundler, configure a transpiler, sprinkle in a few TypeScript-specific conveniences, and marvel at the developer ergonomics. Having the compiler quietly invent runtime JavaScript out of thin air to support an <code>enum</code>, a runtime <code>namespace</code>, or constructor parameter properties feels downright luxurious. You get the strict typing of an enterprise language, the compiler sweeps the sawdust under the rug, and your local watch task hums along in 200 milliseconds.</p>



<p class="wp-block-paragraph">Then&#8230; you get to enterprise scale. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f923.png" alt="🤣" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p class="wp-block-paragraph">Suddenly, it isn&#8217;t one developer tinkering on a tidy side-project. It&#8217;s four hundred engineers distributed across eight time zones committing to a multi-gigabyte monorepo.</p>



<p class="wp-block-paragraph">That &#8220;harmless&#8221; build step isn&#8217;t a frictionless 200ms background blip anymore. It’s an eight-minute CI pipeline bottleneck. </p>



<p class="wp-block-paragraph">At enterprise scale, the build step stops being a convenience and starts being a multi-million-dollar operational tax. Every second added to a build is multiplied by every developer, every pull request, every CI job, and every environment.</p>



<p class="wp-block-paragraph">Which is why the recent discussion of <strong>native type-stripping</strong> and flags like <code>erasableSyntaxOnly: true</code> isn&#8217;t an academic purist argument. It is pure, ruthless pragmatism.</p>



<p class="wp-block-paragraph">When Node can simply load a <code>.ts</code> file, delete the type annotations and execute standard JavaScript immediately your local feedback loop approaches zero. But to get that speed, you have to give up the runtime compiler magic that makes the &#8220;superset&#8221; features of TypeScript work.</p>



<p class="wp-block-paragraph">The biggest beneficiary of this shift has been the humble object literal. If you haven’t made the shift yet, Axel Rauschmayer wrote a <a href="https://www.google.com/url?sa=E&amp;source=gmail&amp;q=https://2ality.com/2020/01/typescript-enums.html" target="_blank" rel="noopener">fantastic, definitive breakdown of replacing TypeScript enums with <code>as const</code> object literals</a>. By freezing a plain JavaScript object and deriving your union types via <code>keyof typeof</code>, you get all the autocomplete, refactoring safety, and strict checking of an enum—except it&#8217;s just raw, native ECMAScript that runs anywhere without a compiler generating IIFEs behind your back.</p>



<h3 class="wp-block-heading">The Inflection Point for ECMAScript</h3>



<p class="wp-block-paragraph">This shift does more than just rescue CI budgets; it marks a genuine inflection point for the ECMAScript specification itself.</p>



<p class="wp-block-paragraph">For the better part of a decade, TypeScript was the web&#8217;s de facto R&amp;D lab. The TC39 committee could watch Microsoft test language features in the wild to see what resonated with developers. But the lesson of the erasable syntax movement is forcing a deeper question: <strong>what was TypeScript doing that the ECMAScript spec itself should have absorbed?</strong></p>



<p class="wp-block-paragraph">We already saw the answer with classes, optional chaining, and nullish coalescing—features proven in TypeScript before landing in the formal JavaScript standard. The next frontier is the <a target="_blank" rel="noopener" href="https://github.com/tc39/proposal-type-annotations">Type Annotations proposal</a>, which aims to formally reserve type syntax in the ECMAScript grammar itself so browsers and runtimes can treat types as ignored comments by default.</p>



<p class="wp-block-paragraph">If ECMAScript formally standardizes native type ignore spaces, the concept of a mandatory transpile-to-JS build step for day-to-day web development begins to evaporate entirely.</p>



<p class="wp-block-paragraph">The convenience of language extensions was never an illusion. They helped bring static typing to an entire generation of JavaScript developers. But as our systems scaled from side projects to platforms, every non-erasable feature acquired a cost. The future increasingly looks like a world where types remain, build steps shrink, and the JavaScript that ships is little more than the JavaScript we wrote in the first place.</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://htmlcssjavascript.com/web/typescript-won-now-its-giving-up-its-superpowers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>The Superset Trap: Why Node’s Native TypeScript is Going to Break Enterprise Brains</title>
		<link>https://htmlcssjavascript.com/web/the-superset-trap-why-nodes-native-typescript-is-going-to-break-enterprise-brains/</link>
					<comments>https://htmlcssjavascript.com/web/the-superset-trap-why-nodes-native-typescript-is-going-to-break-enterprise-brains/#respond</comments>
		
		<dc:creator><![CDATA[Rob Larsen]]></dc:creator>
		<pubDate>Thu, 08 Oct 2026 15:04:42 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[typescript]]></category>
		<guid isPermaLink="false">https://htmlcssjavascript.com/?p=11516</guid>

					<description><![CDATA[If you spend your time in open-source mailing lists or arguing about AST transformations on social media, the recent push toward &#8220;erasable syntax&#8221; makes total sense. I’ve been a proponent of TypeScript for a long time. In the early days, whenever someone brought up enum, for example, I remember having conversations along the lines of: [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading"></h1>



<p class="wp-block-paragraph">If you spend your time in open-source mailing lists or arguing about AST transformations on social media, the recent push toward &#8220;erasable syntax&#8221; makes total sense.</p>



<p class="wp-block-paragraph">I’ve been a proponent of TypeScript for a long time. In the early days, whenever someone brought up <code>enum</code>, for example, I remember having conversations along the lines of: <em>&#8220;Oh, enum? That’s not real. That gets magically transformed into real JavaScript behind your back.&#8221;</em></p>



<p class="wp-block-paragraph">And then I’d get a sparkle in wondering what IIFE monstrosity the compiler invented just to make it work. (I have to shout out Ben Alman, who was right here in our ridiculous Boston front-end scene when he popularized the term &#8220;IIFE&#8221; back in 2010. Little did Ben know the TypeScript compiler would end up weaponizing his naming contribution to haunt us sixteen years later.)</p>



<p class="wp-block-paragraph">Back then, we loved pulling back the curtain. Do people even know what a polyfill is anymore? I have my doubts.</p>



<p class="wp-block-paragraph">The thing is, most developers writing code for a living don&#8217;t live in that world.</p>



<p class="wp-block-paragraph"><em>&#8220;AST what?&#8221;</em></p>



<p class="wp-block-paragraph">In the enterprise trenches, where teams were dragged out of desktop software and backend services into the chaotic swamp of modern web development, TypeScript wasn&#8217;t viewed as a lightweight annotation layer. It was viewed as a sanctuary.</p>



<p class="wp-block-paragraph">Anders Hejlsberg designed C#, and then he designed TypeScript. To millions of backend engineers, TypeScript felt like fruit from the very same design tree. The mental model was simple: TypeScript was the bigger circle in the Venn diagram—the &#8220;typed superset&#8221; Microsoft explicitly sold us. You wrote <code>enum</code>, you wrote <code>namespace</code>, you wrote constructor parameter properties, and you trusted the compiler magic to handle the messy JavaScript plumbing underneath.</p>



<p class="wp-block-paragraph">And for a decade, that compact worked fine. The build toolchain absorbed the weirdness, emitted runtime IIFEs, and everyone went about their day.</p>



<p class="wp-block-paragraph">Then the enterprise joined the chorus asking for the holy grail: <em>“Can Node please just run TypeScript natively?”</em></p>



<p class="wp-block-paragraph">We got what we asked for. Node will execute your <code>.ts</code> files. But it does so with a massive asterisk that is going to bewilder anyone who learned TypeScript as &#8220;C# for the browser&#8221;: <strong>Node only strips types. It does not compile your bespoke runtime features.</strong></p>



<p class="wp-block-paragraph">The moment you run a raw TypeScript file in Node without a build step, that comfortable superset abstraction collapses. You have an <code>enum</code> sitting in an enterprise shared-utility file? Crash. A clever <code>namespace</code>? Crash.</p>



<p class="wp-block-paragraph">Nobody in a corporate sprint planning meeting thought about the distinction between <em>type-stripping</em> and <em>transpilation</em>. They just assumed native TypeScript meant the engine would run their TypeScript code. Period.</p>



<p class="wp-block-paragraph">Which brings us to <code>erasableSyntaxOnly: true</code>.</p>



<p class="wp-block-paragraph">JSON</p>



<pre class="wp-block-code"><code>{
  "compilerOptions": {
    "erasableSyntaxOnly": true
  }
}
</code></pre>



<p class="wp-block-paragraph">This flag is essentially the antidote to a decade of superset marketing. It forces the compiler to yell at you the second you write syntax that can&#8217;t be deleted with an eraser. Try to write an <code>enum</code>? It breaks in your editor before it can blow up your server.</p>



<p class="wp-block-paragraph">It is a fascinating full-circle moment. For ten years, teams embraced TypeScript precisely because it felt like a richer, more familiar programming language than JavaScript. Now, if we want the dream of zero-build native execution, we have to teach those same teams that the extra features they loved were actually technical debt in disguise.</p>



<p class="wp-block-paragraph">Fun times.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://htmlcssjavascript.com/web/the-superset-trap-why-nodes-native-typescript-is-going-to-break-enterprise-brains/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
