Hacker News new | ask | show | jobs
by kstrauser 1367 days ago
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.