You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why have methods such as CryptoSecretBoxNonce.is_valid()? Why not forbid creation of an invalid CryptoSecretBoxNonce by using a private constructor and a factory function that can fail?
This is perhaps mostly a question of what idomatic pony should look like.
The text was updated successfully, but these errors were encountered:
Why have methods such as
CryptoSecretBoxNonce.is_valid()
? Why not forbid creation of an invalidCryptoSecretBoxNonce
by using a private constructor and a factory function that can fail?This is perhaps mostly a question of what idomatic pony should look like.
The text was updated successfully, but these errors were encountered: