Curly Braces
loopinglife.bsky.social
Curly Braces
@loopinglife.bsky.social
Daily nuggets of software wisdom.
Which you choose will depend on the context.
• Is there only one consumer?
• Does it make sense to wait for a result?
• Which way do I want my dependencies to point?
July 31, 2025 at 2:15 PM
I guess you can see it that way.

The point is:
In order to specify your intent to the back-end, you must specify *what* you're doing.
Otherwise, everything's a generic update, and you can't chaing logic, policies or events to it.
July 27, 2025 at 5:46 PM
In a nutshell: Instead of designing the UI to send a whole form with the latest data, you design it so specific parts are independently sent.

Why?
Because you can design better logic if you do ChangeUserEmail or DisableUser, instead of just UpdateUser with the same information changed.
July 27, 2025 at 2:59 PM