Better HN
topnewbestaskshowjobs
Log inSign up

pnyda

2 karma · joined Sep 3, 2025 (1y ago) · 2 submissions

Submissions

comment 3w ago · link · parent

Wouldn't multi-shot algebraic effects help? Assuming we write a view as a function, what the author wants is for the lower stack frames to know which parts of the application state upper stack frames have read, so that the lower stack frames can selectively redraw the views returned by the upper stack frames when a small part of the application state changes. languages with multi-shot algebraic effects allow this. I agree with what the author is arguing for, but as I checked zgui, it's a developer experience nightmare due to heavy use of Rust macros. I feel like this should be implemented in another language that's better suited for the task.

comment 1y ago · link · parent

My take is that TDD is woke. Everyone has a gut feeling it's stupid but no one wants to be the first one in the team to point out that it's stupid, since if I did I'd get labeled as a cave man whose brain is too small to understand all the intricate reasons why we need to do this seemingly stupid things.