frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Why Vanilla JavaScript

https://guseyn.com/html/posts/why-vanilla-js.html
29•guseyn•2h ago

Comments

benoau•1h ago
Some good history of the JS ecosystem here but the underlying message is all the same, frameworks scale and provide structure but you don't need them. Very easy to agree up to this point.

Author then elaborates in the absence of using a common-knowledge framework you can create some tighter solution that achieves just the part you need. This is "fun" programming, and the author is suitably impressed with themselves for solving problems they created just by convincing themself not to use a framework. Sometimes that's fine, although I don't think there's much appetite for this anymore.

Article doesn't really elaborate on what "scaling" and "providing structure" means, I think it downplays the benefits because when you use <framework> you are really establishing ground rules for how all future developers are going to work on that software. You don't know exactly what they'll write, but you know they'll always gravitate towards the top 2 or 3 solutions for that framework at any given time.

When you bust out a bespoke solution that carves out that one thing you needed and does it oh so elegantly and perfectly, you're creating art but most of the canvas is left blank for future developers and they're effectively going to scribble on it with crayons.

bluegatty•58m ago
You can say that without being demeaning. These are random people acting in good faith.

Also - sometimes it is actually useful to make a mini-thing instead of bringing in enterprise messes.

chabska•9m ago
These people are perfectly fine with depicting React developers as corporate zombies that can't think for themselves. Good faith is bidirectional.
swatcoder•41m ago
We practice engineering. As engineers, we need to understand the realities of each project we take on. Those realities are not limited to the marketing bullet points we might apply to the imagined product someday, which is what early career folk might naively call "the requirements".

Among the most critical realities to consider exist outside the product definition entirely, and have to do with the environment in which it will exist during and after development. These are things like plausible scaling curves and limits, code lifetime, team size, deployment options and preferences, etc. Others are things like available runway, team fluency and talent, available tools and licenses, etc.

One of the big eyeroll moments of the last 15 years or so was when folks started blindly cargo culting global-scale 10,000-engineer enterprise practices on projects that would obviously only ever be touched by 1-2 technicians and deployed on a far far far more modest scale. Instead of actively considering any of those environmental requirements above, "engineers" would try to treat every project as though it would someday service 10,000,000 DAU under the hand of dozens or hundreds of churning technicians.

Akin to the joke about some Americans who see themselves as "temporarily embarassed millionares", making foolish choices at their own obvious expense, many engineers during this era would seem to see themselves as "temporarily embarassed Facebooks".

In countless cases, this was simply very dumb and very wasteful and at best amounted to inadvertent (or perhaps intentional) resume-padding for the people involved, while their projects bloated and sagged and lurched under unwarranted complexity.

Sometimes (in fact: often), just doing the thing well with simple, clear, stable tools -- and nothing more -- is the right choice.

FpUser•27m ago
>"frameworks scale and provide structure"

Web Components and vanilla JS scale just as well. Been doing this for ages.

Gualdrapo•34m ago
I wish there was some sort of "use strict-typed" or something that let you use in-browser interpreted typescript
pianopatrick•17m ago
Well, you could use jsDoc to hold your types instead of writing them in typescript. The typescript compiler can still check types in jsDoc comments but you do not need a build step and the javascript you ship to the browser would be the same you write in your editor.
hoppp•5m ago
I built some modules with jsDoc because I didn't want to have a build step but wanted type support.

Works fine.

zamadatix•15m ago
"use stricter";
hoppp•8m ago
Did anyone else notice the pattern that ever since the LLMs got popular the "I hate javascript" kind of posts or comments have decreased?

It could be attributed also to typescript dominance of course, since people don't use plain js anymore.

As for the blog post, I agree, I also implemented my own js framework when I code in vanilla js and it works fine.

The problem is not inventing frameworks, the problem is that everyone invents frameworks, so people all know different things and they are hard to hire.

mircerlancerous•6m ago
Any framework that requires me to learn custom syntax, is a problem in my opinion. I agree with the author that the browser is already the framework, and a powerful one at that. I don't really struggle with views and dom thanks to my own libraries, so maybe those without appreciate thw guilded gardens of these frameworks. Problem is that if these frameworks fall out of favour or stray from their original quality, you're stuck with worthless knowledge and maybe code as well
doginasuit•5m ago
This hit so close to home. For the last eight months I've been building a web app without any major framework like react or angular. Angular taught me a lot of important lessons about best practices for structuring UI. But eventually you run into boilerplate that doesn't jive with what you want to do.

The author frames this as artificial complexity, and that's the best framing I've seen. The browser has a particular presentation philosophy and the more you try to cover it up, the more awkward your code becomes at the edges.

The killer application of LLMs is their ability to inform and adapt to a particular API, and analyze the code that you write. They are garbage at producing functionality for which they don't have a thousand examples, but provide documentation and intent and they will help you fill in the gaps. This is the real 10x opportunity, and the best part is that you can still write all the code yourself.

I'm certain this doesn't just apply to javascript and the web. I predict that the need for frameworks will slowly go away.

Since Chromium 148, Math.tanh is now fingerprintable to link underlying OS

https://scrapfly.dev/posts/browser-math-os-fingerprint/
291•joahnn_s•4h ago•150 comments

Cyberpunk Comics, Manga and Graphic Novels

https://shellzine.net/cyberpunk-comics/
71•zdw•2h ago•15 comments

Tiny Emulators

https://floooh.github.io/tiny8bit-preview/index.html
140•naves•5h ago•7 comments

Designing and assembling my first PCB

https://vilkeliskis.com/b/2026/0711.html
41•tadasv•2h ago•4 comments

So you want to learn physics (second edition, 2021)

https://www.susanrigetti.com/physics
92•azhenley•4d ago•7 comments

Ask HN: What Are You Working On? (July 2026)

71•david927•4h ago•177 comments

Why Vanilla JavaScript

https://guseyn.com/html/posts/why-vanilla-js.html
29•guseyn•2h ago•12 comments

Old and new apps, via modern coding agents

https://terrytao.wordpress.com/2026/07/11/old-and-new-apps-via-modern-coding-agents/
412•subset•14h ago•119 comments

A Peek Inside Jim Henson's Creature Shop, Where Whimsical Puppets Are Designed

https://www.smithsonianmag.com/travel/a-peek-inside-jim-hensons-creature-shop-where-sesame-street...
13•pseudolus•5d ago•0 comments

Migrating a production AI agent to GPT-5.6: 2.2x faster, 27% cheaper

https://ploy.ai/blog/migrating-a-production-ai-agent-to-gpt-5-6
137•brryant•8h ago•46 comments

Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

https://systima.ai/blog/claude-code-vs-opencode-token-overhead
460•systima•7h ago•260 comments

Kode Dot Programmable pocket device for makers, pentesters and geeks

https://kode.diy
40•iNic•4h ago•9 comments

How we can reduce traffic congestion

https://research.google/blog/the-power-of-collaboration-how-we-can-reduce-traffic-congestion/
77•raahelb•10h ago•79 comments

Architecture Description Languages [pdf]

https://ics.uci.edu/~taylor/documents/2000-ADLs-TSE.pdf
18•ascent817•2h ago•1 comments

LARP – Revenue infrastructure for serious founders

https://www.larp.website/
158•BerislavLopac•8h ago•35 comments

I Learned to Read Again

https://substack.magazinenongrata.com/p/how-i-learned-to-read-again
99•georgex7•7h ago•41 comments

Why write code in 2026

https://softwaredoug.com/blog/2026/07/09/write-code
106•softwaredoug•2d ago•146 comments

Profiling the "Abundance" housing bottleneck with real data

https://laxmena.com/same-capacity-less-throughput
22•laxmena•3h ago•10 comments

Automation Without Understanding

https://arxiv.org/abs/2607.06377
92•root-parent•8h ago•40 comments

Deir El-Medina Strikes

https://en.wikipedia.org/wiki/Deir_el-Medina_strikes
76•mooreds•5d ago•16 comments

Mechanistic interpretability researchers applying causality theory to LLMs

https://cacm.acm.org/news/can-we-understand-how-large-language-models-reason/
83•adunk•7h ago•62 comments

Vint Cerf, “father of the Internet”, is retiring

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
279•compiler-guy•3d ago•161 comments

I love LLMs, I hate hype

https://geohot.github.io//blog/jekyll/update/2026/07/12/i-love-llms.html
318•therepanic•7h ago•190 comments

Flash-MSA: Accelerating Million-Token Training with Sparse Attention Kernels

https://nanduruganesh.github.io/flash-msa/
21•rawsh•4h ago•0 comments

Against Usefulness

https://www.motivenotes.ai/p/against-usefulness
85•supo•7h ago•22 comments

The One-Step Trap (In AI Research)

http://incompleteideas.net/IncIdeas/OneStepTrap.html
45•jxmorris12•6h ago•8 comments

Gameboy is back ( no signup)

https://gb.omniiii.com/
6•djxjxjcjcjc•1h ago•0 comments

Billion Dollar PDFs

https://billiondollarpdf.com/
58•rafaepta•1h ago•18 comments

MacKenzie Scott's giving, in quality-adjusted life years

https://maxghenis.com/mackenzie-scott-qaly/
37•383toast•1h ago•10 comments

Circular Obstacle Pathfinding (2017)

https://redblobgames.github.io/circular-obstacle-pathfinding/
7•andsoitis•1h ago•1 comments