News for hackers. Stuff that matters.
Re:I use Attrs instead of Pydantic by nooorofe on Thursday August 26, 2021 @04:37PM (#28320368)
> fully type-annotated python

When I do that, I ask myself: "how is it different from writing Java code?". I don't have a clear answer. It becomes almost as verbose as Java. Java has better type validation (doesn't compile on mistake); it is faster (at least some payback for verbosity); real type system has additional advantages, for example using types as part of method signature.

There are no comments on this comment yet.