I've decided not to do so much validation, checking every class type, and failing if it isn't what I was expecting. I'm going to do it in a more duck typing style, and let python sort out the error messages. This means the errors overall are more meaningful and my code is much cleaner.
I've also decided to get rid of a lot of my 'getters' and 'setters' which were cluttering things up and unnecessary, and I'm just using plain public variables with properties if they need some validation.
(This continues from #15 )
I've decided not to do so much validation, checking every class type, and failing if it isn't what I was expecting. I'm going to do it in a more duck typing style, and let python sort out the error messages. This means the errors overall are more meaningful and my code is much cleaner.
I've also decided to get rid of a lot of my 'getters' and 'setters' which were cluttering things up and unnecessary, and I'm just using plain public variables with properties if they need some validation.