Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #23140

M

Mislav Javor

Personal blog · mislavjavor.github.ioprogrammingeconomics

Mislav Javor's personal blog at mislavjavor.github.io covers programming and economics. Since 2017, 3 different Hacker News readers have linked it 5 times, most often “Swift Enums Are “sum” Types. That Makes Them Very Interesting”. The last post was in 2018, but the archive is still widely read.

Visit the blog
5mentions?
3HN people?
2017–2019first – last linked?
Links on Hacker News per year · peak 3 in 2017

Too few sampled comments (1) to say how often HN recommends it.?

Why HN links it

HN readers link this post explaining that Swift enums are algebraic sum types. One commenter calls it a great read while recommending a Result enum over closure-based callbacks in view controllers.

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?

  1. Swift Enums Are “sum” Types. That Makes Them Very Interesting
    2 people · 2 mentions · first linked 2017-04-19

What Hacker News says?

  1. Chazprime · 2019-01-24Recommends
    This is a pattern that I've started using everywhere and it's incredibly useful. The common closure format of: (T?, Error?) -> () means you have possibly four different options for the return value, it's much simpler to represent as: enum Result<T> { case success(T) case error(Error) } Here's a great read about how Swift enums are algebraic sum types: https://mislavjavor.github.io/2017-04-19/Swift-enums-are-sum...

    Comment linking /2017-04-19/Swift-enums-are-sum-types.-That-makes-them-very-interesting/

    on “Maintaining State in Your ViewControllers – Swift”
  2. Submitted 6 Reasons Why F# Might Be the Coolest Language You've Never Heard Of as a story · 5 points

    HN discussion
  3. Submitted Swift Enums Are “sum” Types. That Makes Them Very Interesting as a story · 2 points

    HN discussion
  4. Submitted Types of Blockchain Tokens and a Case Against Utility Tokens as a story · 1 points

    HN discussion
  5. Submitted Swift enums are “Sum” types. That makes them very interesting as a story · 1 points

    HN discussion

Search all of HN for mislavjavor.github.io