News for hackers. Stuff that matters.
Re:Using attrs for everything in Python by chc on Thursday August 25, 2016 @03:16PM (#12361649)
I think the point is that this is basically a normal class, but one with the boilerplate already written for you. If you don't mind boilerplate, this library does nothing for you. If you don't want to write classes and think dicts are good enough, this library does nothing for you.

If you do want to have classes but don't want the boilerplate that comes with making a basic-but-full-featured class, then that's where this library comes in.

There are no comments on this comment yet.