Jan 14, 2023
Terrible! Horrifying! Appalling! :-D
The constructor for Person now lets you enter any possible parameter. Type checking becomes impossible.
Use dataclasses for this purpose, you'll be glad you did.
Terrible! Horrifying! Appalling! :-D
The constructor for Person now lets you enter any possible parameter. Type checking becomes impossible.
Use dataclasses for this purpose, you'll be glad you did.