4 ms·
This feels a little bit like Lombok in the Java world. Can anybody with experience with both comment on that? We use Lombok a fair amount within our code to ab
by jplahn 10y ago
This feels a little bit like Lombok in the Java world. Can anybody with experience with both comment on that?
We use Lombok a fair amount within our code to abstract away a lot of the class setup, which has been nice. But as I move more towards the Python world, I'm interested to see how attr fits in.
- eliasdorneles 10y agoLombok is kinda bigger commitment than attrs, because it interfaces with Java compiler internals (last time I used it, it was only possible to compile with sun/oracle jdk). attrs seems lesser risk IMO, it's just a plain Python library, no other deps. If you like Lombok, I'd expect you'll love attrs. :)