Comment on Metaprogramming in PythonparentComments−kstrauser3yPydantic’s a great example of a good use of metaclasses. I’ve seen them abused in places where there were far simpler ways to accomplish the same goal, and promptly ripped that code out.
Comments
Pydantic’s a great example of a good use of metaclasses. I’ve seen them abused in places where there were far simpler ways to accomplish the same goal, and promptly ripped that code out.