Ben (@ben_codez)

Aule10 @aule10 2026-11-28T17:51:28.000Z

@ben_codez @Maximumatheist Tiy say theoretically first of, and then finish it of with talking about the harm. First of all the harm is done by humans, secondly you start out with it only being in theory.

0 0 11 2 0
Andy Gayton @cablelounger 2026-11-26T21:48:17.000Z

people may or may not be conflating instant intent and opportunistic updates on the inter webs again this is a small demo I'm iterating on to help tease out the difference between https://t.co/A6MKKwQUGi

@ben_codez

@DelaneyGillilan Hard disagree. Implemented properly in the right scenario it’s always much better than making the user wait for a server response.

14 1 667 2 0
Ben @ben_codez 2026-11-27T18:51:01.000Z

Very interesting! I suspect we'll look back at this point in history and marvel at our lack of ability to communicate empathetically. It's worse in political discourse - tribalistic, polarised, lacking nuance and any effort to understand "the other side" when there's often more in common than not. Things are rarely black & white (even tech or political opinions), and platforms like this don't usually help encourage civil discourse.

1 0 22 1 0
Ben @ben_codez 2026-11-27T18:19:44.000Z

Thanks for putting that together - it is a much neater solution, admittedly. You should suggest it to the X maintainers! 😉 I also concede around the terminology.. in my mind that type of behaviour is in the same vein/bracket as "optimistic UI" although it's not giving you a success result as such, and therefore makes sense to be called something else. Also, I was never "dying on the hill" with this particular example, it was just the first thing that came to mind when the mention of "All optimistic updates are bad!!!" came up in the OP. If I were to implement it in a utopian scenario, I wouldn't object to my original approach but with a "promise" of a sync when connectivity is available once more. There's some interesting stuff going on in the whole "offline first" world, but it's also still an unresolved problem. Also, thanks for discussing it civilly, it makes for more interesting, intelligent conversation than hurling insults around - even if we might disagree. And as a final note, another thing that makes me definitely not like a flat earther, is that I'm completely open to changing my mind or being proven wrong.

1 0 34 1 0
Ben @ben_codez 2026-11-27T17:10:00.000Z

Not far off, yes. It's a matter of importance, on a case by case basis. Is it negligent and wrong to say a bank transaction or drone strike has completed successfully before confirmed? Of course. If I close my browser after liking a post and it doesn't sync to the server, is that the end of the world? No. The user experience gains override the potential infrequent loss.

0 0 42 2 0
Jeyenth @aerojeyenth 2026-11-27T16:19:33.000Z

Thank you for this. One thing, though: let's avoid blanket statements like "Datastar has a flaw." When I first started using Datastar, I honestly had an almost orgasmic reaction to its elegance! It made me realise how much unnecessary complexity we've been adding to frontend development in the name of UX. Datastar forces you to focus on the actual bottlenecks: the network first (SSE eliminates roughly 50% of the network round trips compared to the traditional request-response cycle), followed by your database and server. And by shipping HTML rather than asking the browser to process complex client-side state and rendering logic, you're letting the browser do what it's exceptionally good at: rendering content quickly. Here's my point: try building something as simple as a Todo app with Datastar. You might realise that you don't actually need optimistic UI for most interactions. A simple 200ms click animation or visual acknowledgement is often enough to make the experience feel responsive for most users. For users on slower connections, such as 3G, there's nothing wrong with showing a loading indicator and being honest about what's happening rather than optimistically pretending an operation has succeeded when it hasn't. **We should be exploring better ways to deliver responsive UX, not assuming optimistic UI is the only way to achieve it.**

2 0 28 2 0