Top all-time · #12780
Stefan Scherfke
Personal blog · stefan.sofa-rockers.orgprogramming
Stefan Scherfke's personal blog at stefan.sofa-rockers.org covers programming. Since 2012, 6 different Hacker News readers have linked it 7 times, most often “Attrs, Dataclasses and Pydantic”. It is still writing: the last post was on 2024-11-14, and you can follow it by feed.
Too few sampled comments (1) to say how often HN recommends it.?
Why HN links it
HN readers cite this post on attrs versus Pydantic performance, including its finding that replacing dateutil.parser.parse with datetime.isoformat made attrs about 7x faster. One commenter uses it to question Pydantic's docs benchmarks.
Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Attrs, Dataclasses and Pydantic2 people · 2 mentions · first linked 2020-05-29
What Hacker News says?
https://github.com/samuelcolvin/pydantic/pull/1568 If I'm reading this issue right the benchmarks in the pydantic docs are misleading Also > The author of this article ( https://stefan.sofa-rockers.org/2020/05/29/attrs-dataclasses... ) poits out that replacing dateutil.parser.parse function with datetime.isoformat increases performance of attrs in 7 times.
Comment linking /2020/05/29/attrs-dataclasses-pydantic/
on “I use Attrs instead of Pydantic”Submitted Packaging Python Inside Your Organization with Gitlab and Conda as a story · 8 points
HN discussionSubmitted Building a ZeroMQ app with Python as a story · 6 points
HN discussionSubmitted Attrs, Dataclasses and Pydantic as a story · 2 points
HN discussionSubmitted Designing and testing PyZMQ applications part 2 as a story · 2 points
HN discussionSubmitted Typed Settings as a story · 1 points
HN discussionSubmitted Designing and Testing PyZMQ Applications – Part 3 as a story · 1 points
HN discussion