Top all-time · #16753
Tom Kwong
Personal blog · ahsmart.com/pubprogramming
Tom Kwong's personal blog at ahsmart.com covers programming. Since 2020, 4 different Hacker News readers have linked it 8 times, most often “Holy Traits Pattern (Julia)”. It is still writing: the last post was on 2025-04-20, and you can follow it by feed.
Too few sampled comments (2) to say how often HN recommends it.?
Why HN links it
HN readers link Tom Kwong's Holy traits tutorial as a resource on implementing traits in Julia through its type system. Commenters cite it when discussing traits and sum types.
Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Holy Traits Pattern (Julia)2 people · 3 mentions · first linked 2020-08-31
- JuliaCon 2020 was awesome! The virtual experience is better than physical2 people · 2 mentions · first linked 2020-08-09
What Hacker News says?
There are no traits in Julia by default, that's true. But since types are first class citizens in Julia, traits can be implemented within the language. There is a package SimpleTraits.jl that implements Holy's trait trick, see also this tutorial https://ahsmart.com/pub/holy-traits-design-patterns-and-best... An ability to work with types within the language is already a win for me.
Comment linking /pub/holy-traits-design-patterns-and-best-practice-book/
on “Python developers are embracing type hints”Submitted Programming is boring art as a story · 120 points
HN discussionTraits are possible in Julia [0] and may be a better solution. [0] https://ahsmart.com/pub/holy-traits-design-patterns-and-best...
Comment linking /pub/holy-traits-design-patterns-and-best-practice-book/
on “Sum Types in Julia and Rust”Submitted Holy Traits Pattern (Julia) as a story · 6 points
HN discussionSubmitted JuliaCon 2020 was awesome! The virtual experience is better than physical as a story · 5 points
HN discussionSubmitted The Meaning of Functions in Julia as a story · 2 points
HN discussionSubmitted JuliaCon 2020 was awesome The virtual experience is better than physical as a story · 1 points
HN discussionSubmitted Naming Things Properly as a story · 1 points
HN discussion