Matthew Weier O'Phinney on Nostr: nprofile1q…d240e nprofile1q…0gvrm Exactly this. In my own experiments with them ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq3w74ajumt9wx050yq2r5h6rz95q8mmdqtvt9fl3e9u0f2ug6ht9sld240e (nprofile…240e) nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqhj8vlq7su7pn73jl73w2g4jrac6xwfmtdvy2mjvv2j5a8ened76s30gvrm (nprofile…gvrm) 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.