What is Nostr?
Yuri :godot: /
npub1dgr…ryun
2024-12-12 15:45:50
in reply to nevent1q…zv70

Yuri :godot: on Nostr: nprofile1q…hnua9 Technically, yes, although I feel like the compiler should be able ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqxksp9jnwt3d9a5m2wmvjm0ag64vesa304ztgd6k3w2g7lk2r69nq0hnua9 (nprofile…nua9) Technically, yes, although I feel like the compiler should be able to deduce your intention here. But perhaps not.

That's fair, but you could do it in the header/alongside the declaration too, and leave the constructor for things which depend on the arguments or require complex initialization. Are there downsides to that?
Author Public Key
npub1dgrvnlut7spp5grmfat3j6l5t8tf2t9utm5t2zt0maaysayukd4s5aryun