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
Debug.Assert is like the name alludes only for development time. For runtime proper argument validations should be done for public APIs.
Or, as this comes with a small perf-drop, it should at least be documented that no validation is done, and it's subject to the caller of these API to provide valid arguments.
The status quo is that these APIs are really unsafe 😉 not just in some implementations, but from an API's point of view.
The text was updated successfully, but these errors were encountered:
Debug.Assert
is like the name alludes only for development time. For runtime proper argument validations should be done for public APIs.Or, as this comes with a small perf-drop, it should at least be documented that no validation is done, and it's subject to the caller of these API to provide valid arguments.
The status quo is that these APIs are really unsafe 😉 not just in some implementations, but from an API's point of view.
The text was updated successfully, but these errors were encountered: