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
I wonder if it would make sense to add a Guard.Against.Negative Clause ?
To avoid negative values I could use an uint type. But in some situation I prefer to use int. Especially when the input value come from outside of my projects to avoid the need of cast.
If this suggestion make sense I can do a pull request.
The text was updated successfully, but these errors were encountered:
I wonder if it would make sense to add a Guard.Against.Negative Clause ?
To avoid negative values I could use an
uint
type. But in some situation I prefer to useint
. Especially when the input value come from outside of my projects to avoid the need of cast.If this suggestion make sense I can do a pull request.
The text was updated successfully, but these errors were encountered: