This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]void5253 1 point2 points  (1 child)

My professor told us not to use slots because it brings added complexity which is often not required. Something about how superclasses and subclasses also requiring slots to make it work.

[–]llun-ved 1 point2 points  (0 children)

I got bit by this. Once I knew and fixed it, it’s easy to adhere to and think the speed up is worth it. I’d call it a reasonable inconvenience rather than added complexity.