Why Nostr? What is Njump?
2023-11-22 14:15:12
in reply to

Christian Tietze on Nostr: npub1u24tf…532pl 100%! Also: Interesting, folks are usually less worried about the ...

100%!

Also: Interesting, folks are usually less worried about the counter-example of the default initializer being disabled no matter where one puts an initializer, but why adding the init into the `struct { ... }` declaration body removes the generated one.

For which I then one come up with an example that sometimes, you want to protect invariants in a 'required' initializer. But structs don't use that keyword.

There's no clever way out.

It's just another specialty to explain :)
Author Public Key
npub1z6hpv4jcppmr2tqdv3gznaj9790rqtpfkpad25jj4fc3tmnyjxfsrajtas