Skip to content

Update section on assert? #40

Description

@lasse-cs

I am unsure if the assert section in defensive programming should be updated to contain a note that assert statements are primarily debug tools / checking assumptions and should not be relied upon to do critical data validation as they will not necessarily be included if optimisations are requested:

https://docs.python.org/3/reference/simple_stmts.html#the-assert-statement

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions