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

J

Jonas Bonér

Personal blog · jonasboner.comprogrammingsystems

Jonas Bonér's personal blog at jonasboner.com covers programming and systems. Since 2008, 12 different Hacker News readers have linked it 14 times, most often “Real-World Scala: Dependency Injection (DI)”. No feed was found, so read it on the site itself.

No feed foundVisit the blog
14mentions?
12HN people?
2008–2018first – last linked?
Links on Hacker News per year · peak 4 in 2008

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

Why HN links it

HN readers link Jonas Bonér's blog for Scala and JVM posts: dependency injection with the cake pattern, Scala OTP fault tolerance, and using Terracotta with JRuby.

Summarised by Claude from a sample of 6 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Most-linked posts?

  1. Real-World Scala: Dependency Injection (DI)
    3 people · 4 mentions · first linked 2010-06-17
  2. Jonas Boner: Bla-Bla Microservices Bla-Bla
    2 people · 2 mentions · first linked 2016-04-18
  3. Real-World Scala: Dependency Injection
    2 people · 2 mentions · first linked 2008-10-06

What Hacker News says?

  1. You can write clients that stream data in (much like Hadoop streaming), however. If you want to stick with the JVM, have you considered using Scala and the cake pattern? http://jonasboner.com/2008/10/06/real-world-scala-dependency... If you want to stick with Java and want to use IoC without the hell that is Spring, I suggest Guice (which consists of a smaller, cleaner core and uses annotations and DSLs in place of…

    Comment linking /2008/10/06/real-world-scala-dependency-injection-di.html

    on “S4”
  2. Submitted Introducing Akka - Simpler Scalability, Fault-Tolerance, Concurrency & Remoting as a story · 7 points

    HN discussion
  3. Totally agree. The oddest thing is the example DHH picked and the language he used: > If your Java code has Date date = new Date(); buried in its guts, how do you > set it to a known value you can then compare against in your tests? Well, you > don't. So what you do instead is pass in the date as part of the parameters > to your method. You inject the dependency on Date. Yay, testable code! It suggests that the whol…

    Comment linking /2008/10/06/real-world-scala-dependency-injection-di/

    on “Dependency Injection is a Virtue”
  4. Submitted Erlang-style Supervisor Module for Scala Actors as a story · 6 points

    HN discussion
  5. Great point. This presentation showed how easy it can be to implement DI in ruby: http://onestepback.org/articles/depinj/index.html Dynamic languages don't suffer many of the overheads with using DI. So do those with Mixins (see the Scala's Cake pattern for more on this http://jonasboner.com/2008/10/06/real-world-scala-dependency... ) This blog post says more about it: http://weblog.jamisbuck.org/2008/11/9/legos-pla…

    Comment linking /2008/10/06/real-world-scala-dependency-injection-di.html

    on “Dependency Injection is dangerous for your career”
  6. Submitted Real-World Scala: Dependency Injection as a story · 3 points

    HN discussion
  7. tjweir · 2009-07-06Recommends
    Take a look at what Jonas Boner is doing with Scala OTP: http://jonasboner.com/2008/12/11/real-world-scala-fault-tole... and http://github.com/jboner/scala-otp/tree/master Stealing some of the great ideas of Erlang and re-implementing them in Scala.

    Comment linking /2008/12/11/real-world-scala-fault-tolerant-concurrent-asynchronous-components.html

    on “Scala as long-term replacement for Java”
  8. Submitted Jonas Boner: Bla-Bla Microservices Bla-Bla as a story · 2 points

    HN discussion
  9. See http://jonasboner.com/2008/10/06/real-world-scala-dependency... for an example that's broadly similar to what I ended up doing. (The site is down right now so you might want to check google's cache) My approach was thus: basically, define an abstract trait that specifies methods that return given dependencies. Any class that required dependencies extends this trait and is itself abstract. Then, when you want a r…

    Comment linking /2008/10/06/real-world-scala-dependency-injection-di.html

    on “Scala is not a better Java”
  10. Submitted Real-World Scala: Dependency Injection (DI) as a story · 2 points

    HN discussion
  11. http://jonasboner.com/2007/02/05/clustering-jruby-with-open-... gives some info on using Terracotta with JRuby.

    Comment linking /2007/02/05/clustering-jruby-with-open-terracotta.html

    on “Best alternative to RDBMS and ORMs : Terracotta”
  12. Submitted Bla bla microservices bla bla as a story · 1 points

    HN discussion
  13. Submitted Real-World Scala: Introduction as a story · 1 points

    HN discussion
  14. Submitted Clustering JRuby with Open Terracotta as a story · 1 points

    HN discussion

Search all of HN for jonasboner.com