AustinScola / seligimus

A mono-library.
MIT License
1 stars 0 forks source link

Make a mixin for a standard equality operator #107

Open AustinScola opened 3 years ago

AustinScola commented 3 years ago

Make a mix for a "standard" equality operator which checks the type and instance attributes. Or maybe this should be a metaclass? I don't actually know what metaclasses are so I should do some research.

AustinScola commented 3 years ago

Here is a great article about metaclasses.

A metaclass seems like it would not be the way to go here. A metaclass is a way of changing the instantiation behavior of a class and that isn't really what it is needed here. Plus, most people don't have knowledge of them and so it would probably serve to confuse users.