Comment on Python classes aren’t always the best solutionparentComments−SamuelAdams1yIt also makes the code easier to read, and that is what our org optimizes for, all else being equal. Code is read 10x more than it is modified, so if you can make it a little quicker to understand it’s generally recommended.−sgt1yBut then why not use dataclasses and get constructor, equality etc included?
Comments
It also makes the code easier to read, and that is what our org optimizes for, all else being equal. Code is read 10x more than it is modified, so if you can make it a little quicker to understand it’s generally recommended.
But then why not use dataclasses and get constructor, equality etc included?