Implement __slots__ to avoid user confusion
MicahGale opened this issue · 0 comments
MicahGale commented
Discussed in #345
Originally posted by MicahGale August 2, 2023
TIL about slots in python: https://stackoverflow.com/questions/472000/usage-of-slots
Basically statically allocating python attributes. The benefit would be to guard against typos frustrating users. For instance cell.materail = mat
.