frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

JavaScript Just Leveled Up: ES2025 – You'll Fall in Love With

https://jsdevspace.substack.com/p/javascript-just-leveled-up-es2025
11•javatuts•3h ago

Comments

EdwardDiego•2h ago
> You’ll Fall in Love With

I'm going to press Circle to Doubt.

Oh look, every section header starts with an emoji. Gee, wonder who wrote this.

That said, it is nice that they finally borrowed the pipe-forward operator from the ML languages. Record and tuple syntax is gross though.

ahofmann•2h ago
From the article:

  As front-end developers, staying ahead of JavaScript’s evolution isn’t optional — it’s survival.

  When the ES2025 proposals dropped, many developers (myself included) were shocked.
Isn't this hyperbole par excellence? There are some new language features, that is all. The whole article looks like written by this LLM prompt: "write about the new features of es2025 and hype it up as much as possible"
M4v3R•2h ago
To be honest this whole article feels like it was AI generated. And em-dashes being used everywhere doesn’t help to shake off this feeling.
EdwardDiego•2h ago
It's every section header starting with an emoji that's blatant LLM slop indicator. I'd love to know why LLMs love emojis so much.
EdwardDiego•2h ago
<arrow in target emoji> You nailed it!

People have got to start prompting their LLMs to stop with the goddamn emoji.

DemocracyFTW2•1h ago
<thumbs-up emoji> You nailed it!
javatuts•1h ago
I get what you mean, but the point of the article was to show how JavaScript is evolving to feel more like a functional language — not like Java or C#. That shift is actually what makes it cleaner and more expressive, not robotic.
M4v3R•2h ago

  when ({ status: s if s >= 500 }) -> throw new Error(’Server Error’)
Is it only me or this doesn’t look like JavaScript anymore?
javatuts•1h ago
JavaScript is moving toward functional programming languages — I don’t see what’s wrong with that.
alabhyajindal•2h ago
This is written by an LLM. Can we have less of these on HN?
mg•2h ago
Hmm... one moment. The first example function they provide:

    function handleResponse(response) {
        return match (response) {
        when ({ status: 200, data }) -> data
        when ({ status: 401 }) -> throw new Error(’Unauthorized’)
        when ({ status: 404 }) -> throw new Error(’Not Found’)
        when ({ status: s if s >= 500 }) -> throw new Error(’Server Error’)
        default -> throw new Error(’Unknown Error’)
      };
    }
Is less readable to me than the way I would write it without the match/when construct:

    function handleResponse(response) {
        status = response.status;
        data   = response.data;
        if (status === 200 && data) return data;
        if (status === 401) throw new Error(’Unauthorized’);
        if (status === 404) throw new Error(’Not Found’);
        if (status  >= 500) throw new Error(’Server Error’);
        throw new Error(’Unknown Error’);
    }
mg•2h ago
The match/when approach also needs more code. 393 instead of 360 chars.
andrewl-hn•2h ago
The article lists all flashy JavaScript proposals, and none of them are part of the language.

Here’s what actually is new: https://2ality.com/2025/06/ecmascript-2025.html

fud101•2h ago
how long til it's in the browser for these?
npodbielski•2h ago

   const result = data
     |> Object.entries(%)
     |> (%.filter(([k, v]) => v != null))
     |> Object.fromEntries(%)
     |> Object.values(%)
     |> JSON.stringify(%)
     |> encodeURIComponent(%);
Looks kinda awful to me. Am I strange that I prefer the 'spaghetti' version?
samhh•2h ago
I’ll die on the hill that the tacit pipe operator would have been the right choice. IIRC the main objections came from engine implementors.
mattvr•2h ago
I believe this article is largely wrong and misleading.

Pattern matching is still Stage 1, meaning it’s not a standard: https://github.com/tc39/proposal-pattern-matching

Pipeline operator is Stage 2 and won’t use the “|>” syntax: https://github.com/tc39/proposal-pipeline-operator

Leaving Meta and PyTorch

https://soumith.ch/blog/2025-11-06-leaving-meta-and-pytorch.md.html
265•saikatsg•3h ago•37 comments

A Fond Farewell

https://www.farmersalmanac.com/fond-farewell-from-farmers-almanac
225•erhuve•7h ago•72 comments

Lessons from Growing a Piracy Streaming Site

https://prison.josh.mn/lessons
98•zuhayeer•2h ago•18 comments

A startup’s quest to store electricity in the ocean

https://techcrunch.com/2025/10/22/one-startups-quest-to-store-electricity-in-the-ocean/
18•rbanffy•1h ago•10 comments

You should write an agent

https://fly.io/blog/everyone-write-an-agent/
675•tabletcorry•13h ago•295 comments

Two billion email addresses were exposed

https://www.troyhunt.com/2-billion-email-addresses-were-exposed-and-we-indexed-them-all-in-have-i...
466•esnard•13h ago•318 comments

Kimi K2 Thinking, a SOTA open-source trillion-parameter reasoning model

https://moonshotai.github.io/Kimi-K2/thinking.html
748•nekofneko•19h ago•315 comments

Text case changes the size of QR codes

https://www.johndcook.com/blog/2025/10/31/smaller-qr-codes/
33•ibobev•5d ago•4 comments

The Silent Scientist: When Software Research Fails to Reach Its Audience

https://cacm.acm.org/opinion/the-silent-scientist-when-software-research-fails-to-reach-its-audie...
12•mschnell•5d ago•2 comments

Game design is simple

https://www.raphkoster.com/2025/11/03/game-design-is-simple-actually/
294•vrnvu•11h ago•84 comments

Show HN: I scraped 3B Goodreads reviews to train a better recommendation model

https://book.sv
404•costco•1d ago•140 comments

Photoroom (YC S20) Is Hiring a Senior AI Front End Engineer in Paris

https://jobs.ashbyhq.com/photoroom/7644fc7d-7840-406d-a1b1-b9d2d7ffa9b8
1•ea016•3h ago

A Note on Fil-C

https://graydon2.dreamwidth.org/320265.html
168•signa11•9h ago•77 comments

We built a cloud GPU notebook that boots in seconds

https://modal.com/blog/notebooks-internals
34•birdculture•4d ago•6 comments

From web developer to database developer in 10 years

https://notes.eatonphil.com/2025-02-15-from-web-developer-to-database-developer-in-10-years.html
71•pmbanugo•3d ago•19 comments

Cryptography 101 with Alfred Menezes

https://cryptography101.ca
41•nmadden•3d ago•4 comments

JermCAD: Browser-Based CAD Software

https://github.com/jeremyaboyd/jerm-cad
22•azhenley•5h ago•9 comments

Analysis indicates that the universe’s expansion is not accelerating

https://ras.ac.uk/news-and-press/research-highlights/universes-expansion-now-slowing-not-speeding
177•chrka•13h ago•148 comments

Open Source Implementation of Apple's Private Compute Cloud

https://github.com/openpcc/openpcc
403•adam_gyroscope•1d ago•88 comments

HTML Slides with notes

https://nbd.neocities.org/slidepresentation/Slide%20presentation%20about%20slides
47•Curiositry•8h ago•11 comments

Swift on FreeBSD Preview

https://forums.swift.org/t/swift-on-freebsd-preview/83064
211•glhaynes•16h ago•133 comments

Time Immemorial turns 750: The Medieval law that froze history at 1189

https://www.ianvisits.co.uk/articles/time-immemorial-turns-750-the-medieval-law-that-froze-histor...
31•zeristor•8h ago•5 comments

LLMs encode how difficult problems are

https://arxiv.org/abs/2510.18147
143•stansApprentice•15h ago•28 comments

FBI tries to unmask owner of archive.is

https://www.heise.de/en/news/Archive-today-FBI-Demands-Data-from-Provider-Tucows-11066346.html
864•Projectiboga•17h ago•435 comments

Eating stinging nettles

https://rachel.blog/2018/04/29/eating-stinging-nettles/
210•rzk•22h ago•194 comments

A prvalue is not a temporary

https://blog.knatten.org/2025/10/31/a-prvalue-is-not-a-temporary/
29•ingve•7h ago•53 comments

My tutorial and take on C++20 coroutines (2021)

https://www.scs.stanford.edu/~dm/blog/c++-coroutines.html
17•signa11•8h ago•2 comments

The Geometry of Schemes [pdf]

https://webhomes.maths.ed.ac.uk/~v1ranick/papers/eisenbudharris.pdf
45•measurablefunc•6d ago•10 comments

I analyzed the lineups at the most popular nightclubs

https://dev.karltryggvason.com/how-i-analyzed-the-lineups-at-the-worlds-most-popular-nightclubs/
154•kalli•20h ago•75 comments

Mathematical exploration and discovery at scale

https://terrytao.wordpress.com/2025/11/05/mathematical-exploration-and-discovery-at-scale/
254•nabla9•1d ago•117 comments