Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,843 posts.

Software Engineering
Any year
19203

Datastar response to misunderstandings

A recent blog post titled HTMX, Datastar, greedy developer and several Hacker News threads raised concerns about Datastar Pro, pricing, and whether features were “moved behind a paywall”. Here’s what has changed, who Pro is for, and how to achieve some of the same things with the free version.

19207

`std::flip`

std::flip is a little-known utility from the C++ standard library header <functional>: it is a higher-order function that accepts a Callable and returns an equivalent Callable with the order of its parameters reversed (or “flipped”).

19209

When TDD Doesn't Work

Over the years many people have complained about the so-called “religiosity” of some of the proponents of Test Driven Development. The recent brouhaha over TDD has, once again, brought these complaints to the fore. So I thought it would be a good idea to talk about when TDD does not work.