Join Nostr
2024-12-12 21:55:04 UTC
in reply to

Matthew Weier O'Phinney on Nostr: nprofile1q…d240e nprofile1q…0gvrm Exactly this. In my own experiments with them ...

Exactly this. In my own experiments with them lately, I'm doing public private(set) with a set hook that does validation. This ensures my data/value objects are always in a correct state, while allowing me to access values directly. It allows me to move validation into those objects, which simplifies a lot of workflows.