News for hackers. Stuff that matters.
Re:More Control with Idempotency by mwint on Friday April 15, 2022 @09:07PM (#31048036)
What do you mean by purity here?
Re:More Control with Idempotency by CraigJPerry on Saturday April 16, 2022 @08:19AM (#31051711)
Just being conscious of side effects really.

From an architecture point of view, maybe you’d like to change the space vs. time tradeoff for a component (maybe apply memoization) in response to a change of business need but that can be nasty when the component itself knows how to go lookup business date by itself or how to send a notification etc.