Top all-time · #20597
Nicholas Blumhardt
Personal blog · nblumhardt.comprogramming
Nicholas Blumhardt's personal blog at nblumhardt.com covers programming. Since 2016, 3 different Hacker News readers have linked it 6 times. The last post was in 2024, but the archive is still widely read.
Too few sampled comments (2) to say how often HN recommends it.?
Why HN links it
HN links Nicholas Blumhardt's .NET dependency injection post on relationship types (Lazy<B>, Func<B>, IEnumerable<B>), calling it a better take, and his 'literate console' post on Serilog console output.
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.
The static HTML of the http://nblumhardt.com site
What Hacker News says?
A better take on DI wireups in .NET: https://nblumhardt.com/2010/01/the-relationship-zoo/ The gist: Relationship Adapter Type Meaning A needs a B None Dependency A needs a B at some point in the future Lazy<B> Delayed instantiation A needs to create instances of B Func<B> Dynamic instantiation A provides parameters of types X and Y to B Func<X,Y,B> Parameterisation A needs all the kinds of B IEnumerable<B> Enumerati…
Comment linking /2010/01/the-relationship-zoo/
on “.NET 5.0”Submitted Exploring Rust (from C#) as a story · 148 points
HN discussionThanks for the reply! NLog's configuration story is certainly impressive; I think the differences in approach make them hard to compare directly on some of these however (for example, most sinks based on network I/O do asynchronous batching by default in Serilog). Just on the topic of console output, you might enjoy the "literate console" - https://nblumhardt.com/2015/06/contender-for-nets-prettiest-... - for a diff…
Comment linking /2015/06/contender-for-nets-prettiest-console/
on “Serilog – Simple .NET logging with fully-structured events”Submitted Themed logging with ANSI colors on Windows 10 as a story · 3 points
HN discussionSubmitted Making the Leap from Windows-Only to .NET Core/Linux/Docker as a story · 1 points
HN discussionSubmitted Superpower: a new token-driven parser combinator library for C# as a story · 1 points
HN discussion