Skip to content

Update section on assert? #40

@lasse-cs

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

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