Joel Purra: Developer and more


Add assert decorator

Repository details (botten-nappet)
Project page
botten-nappet
Project category
(195 entries)
Owner
joelpurra on Github@joelpurra
Commit details (040b45c6)
Author
Authored at
Commiter
Joel Purra
Commited at

Commit message

Add assert decorator

- For class constructors and methods
  - Replace argument count assertions with `@asrt(n)`.
  - Replace argument/auto-property assigned (usually non-null) assertions with `@asrt()`.
- Kept state-checking assertions (is initialized/connected/running/started).
- Removed parameter shape (string length, string prefixes, object properties) assertions.

Changed files (119)

Commit categories (3)