Top all-time · #6879
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.
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?
- Real-World Scala: Dependency Injection (DI)3 people · 4 mentions · first linked 2010-06-17
- Jonas Boner: Bla-Bla Microservices Bla-Bla2 people · 2 mentions · first linked 2016-04-18
- Real-World Scala: Dependency Injection 2 people · 2 mentions · first linked 2008-10-06
What Hacker News says?
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”Submitted Introducing Akka - Simpler Scalability, Fault-Tolerance, Concurrency & Remoting as a story · 7 points
HN discussionTotally 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”Submitted Erlang-style Supervisor Module for Scala Actors as a story · 6 points
HN discussionGreat 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”Submitted Real-World Scala: Dependency Injection as a story · 3 points
HN discussionTake 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”Submitted Jonas Boner: Bla-Bla Microservices Bla-Bla as a story · 2 points
HN discussionSee 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”Submitted Real-World Scala: Dependency Injection (DI) as a story · 2 points
HN discussionhttp://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”Submitted Bla bla microservices bla bla as a story · 1 points
HN discussionSubmitted Real-World Scala: Introduction as a story · 1 points
HN discussionSubmitted Clustering JRuby with Open Terracotta as a story · 1 points
HN discussion