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 · #24111

B

Bob Archer

Personal blog · randomprogramming.comprogramming

Bob Archer writes Random programming, a personal blog at randomprogramming.com about programming. Since 2015, 3 different Hacker News readers have linked it 3 times. No feed was found, so read it on the site itself.

No feed foundVisit the blog
3mentions?
3HN people?
2015–2025first – last linked?
Links on Hacker News per year · peak 2 in 2015

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

Why HN links it

HN readers link this blog's 2014 post on encoding coordinate systems and units into C++ class types for compile-time checking, as a way to prevent coordinate-mixup bugs.

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.

What Hacker News says?

  1. > What's the coordinate system? What are the units? That information can be encoded into the class type, in which case you get compile time checking. I wrote a blog post about this some time ago: http://www.randomprogramming.com/2014/06/quote-of-the-week-t... The summary is that we had two different coordinate systems in play and had many bugs caused by passing values in the wrong coordinate system around. By making…

    Comment linking /2014/06/quote-of-the-week-type-systems-and-unit-tests/

    on “C++ Core Guidelines”
  2. Submitted C++: No raw loops as a story · 5 points

    HN discussion
  3. In my opinion: because the Robustness principle [1] is a non-insignificant cause of bugs and SQL injection is a major player in the vulnerability game. The first case that jumps to me: if you write "a,b,c," you can't know whether you forgot a parameter, you passed an empty string where there shouldn't be one, or you intentionally left a trailing comma. And SQL already is human-oriented - compare your typical SQL to…

    Comment linking /2014/09/quote-of-the-week-hard-things/

    on “How about trailing commas in SQL?”

Search all of HN for randomprogramming.com