Top all-time · #5123
Oleksii Holub
Personal blog · tyrrrz.me/blogprogramming
Oleksii Holub's personal blog at tyrrrz.me covers programming. Since 2019, 15 different Hacker News readers have linked it 18 times, most often “Pure-Impure Segregation Principle”. The last post was in 2023, but the archive is still widely read.
Too few sampled comments (4) to say how often HN recommends it.?
Why HN links it
HN readers link Oleksii Holub's blog for its software testing essays, such as 'Unit Testing is Overrated' and 'Fakes over Mocks'. The comments mostly discuss unit testing, mocking and dependency injection.
Summarised by Claude from a sample of 4 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Oleksii Holub (@tyrrrz) is a software developer, open-source maintainer, tech blogger and conference speaker
Most-linked posts?
- Pure-Impure Segregation Principle3 people · 3 mentions · first linked 2020-08-24
- Prefer Fakes over Mocks3 people · 3 mentions · first linked 2020-10-13
- Reverse-Engineering YouTube (2017)3 people · 3 mentions · first linked 2020-10-25
- Fluent Generics in C#2 people · 2 mentions · first linked 2020-12-25
- Unit Testing Is Overrated2 people · 2 mentions · first linked 2020-07-09
What Hacker News says?
Inside the source of the Javascript player (base.js) was a function to transform (update) the value of the video signature (s) parameter. All you had to do was look at base.js and duplicate the string operations used to produce the updated s, whatever they were. No need to use Javascript. yt-dl chose to use Python. Only a minority of videos used this "technological measure". Most videos on YT do not require a contin…
Comment linking /blog/reverse-engineering-youtube
on “RIAA’s YouTube-dl takedown ticks off developers and GitHub’s CEO”Submitted Unit Testing Is Overrated as a story · 501 points
HN discussion> poor test coverage Yet you don't have to hang around here long to be told that "Unit Testing is Overrated": https://tyrrrz.me/blog/unit-testing-is-overrated
Comment linking /blog/unit-testing-is-overrated
on “The $440M software error at Knight Capital (2019)”Submitted Unit Testing is Overrated (2020) as a story · 236 points
HN discussionMy gut reaction to the title was to disagree. Looking at the article, the thing that stands out strongest is this graph: https://tyrrrz.me/static/b606743d039cfb56391c5793d0dda8f2/bb... It shows test cost vs test isolation. I agree with the assumed correlation. My experience though is the real correlation is above the assumed correlation, not below it. My guess is that the author's organization moves part of the cost…
Comment linking /static/b606743d039cfb56391c5793d0dda8f2/bb630/Test-conversion-efficiency.png
on “Unit Testing is Overrated (2020)”Submitted Prefer Fakes over Mocks as a story · 104 points
HN discussionFakes > Mocks! Post: https://tyrrrz.me/blog/fakes-over-mocks Previous HN Discussion on the above post: https://news.ycombinator.com/item?id=24770954 This does require dependency injection (DI), and my hot take is that manual DI > framework magic. Sure it's a little extra code writing, but folks should optimize for reading code, and some of the frameworks out there have a lot of complex concepts for DI (For example d…
Comment linking /blog/fakes-over-mocks
on “Mocking a JavaScript class with Jest: mocking vs. dependency injection”Submitted Reverse-Engineering YouTube (2017) as a story · 19 points
HN discussionSubmitted Reverse-Engineering YouTube as a story · 4 points
HN discussionSubmitted Pure-Impure Segregation Principle as a story · 3 points
HN discussionSubmitted Reverse-Engineering YouTube: Revisited as a story · 2 points
HN discussionSubmitted Prefer Fakes over Mocks as a story · 2 points
HN discussionSubmitted Pure-Impure Segregation Principle (When FP Approaches and When They Don't) as a story · 2 points
HN discussionSubmitted Working with Expression Trees in C# as a story · 2 points
HN discussionSubmitted Fluent Generics in C# as a story · 1 points
HN discussionSubmitted Fluent Generics in C# as a story · 1 points
HN discussionSubmitted Pure-Impure Segregation Principle as a story · 1 points
HN discussionSubmitted How to Reverse-Engineer YouTube as a story · 1 points
HN discussion