News for hackers. Stuff that matters.
Re:jQuery 4.1.0 by btown on Tuesday November 17, 2026 @04:06PM (#50538194)
To that point, there was a conscious choice that the return type of most method invocations (except in specific "read a value" modes) should be a standardized container type.

That was, and still is, rare! And in a time without type checking and bundling, it was vital. Match your parentheses and quotes, and your jquery code might not find what you want, but it would (likely) not throw exceptions.

For those unfamiliar, I recommend looking at https://github.com/DefinitelyTyped/DefinitelyTyped/blob/mast... and searching for the 201 instances of

    : this
in that file. A remarkably fluent API. We could all be so elegant.
Re:jQuery 4.1.0 by submain on Tuesday November 17, 2026 @09:28PM (#50541102)
I'm just sitting and waiting until someone mentions "monads"...
Re:jQuery 4.1.0 by hax0ron3 on Tuesday November 17, 2026 @09:29PM (#50541106)
I considered doing it in my top-level comment but I decided not to, since I don't actually know enough about monads to be sure that I know what I'm talking about, lol.
Re:jQuery 4.1.0 by lgas on Wednesday November 18, 2026 @02:09AM (#50542853)
Looks like you beat them to it. Good job.