3 ms·
I think DHH is actually not complaining DI in a general sense - DHH just want to emphasize DI is not required in dynamic language such as Ruby. He also said th
by tszming 14y ago
I think DHH is actually not complaining DI in a general sense - DHH just want to emphasize DI is not required in dynamic language such as Ruby.
He also said that the real problem is when people applying techniques to solve one language's limitation on other language which problem does not exist and think it is okay. (..While we can cross-pollinate some ideas between languages, there are many we cannot. ..)
So, if you are using Java, it is perfectly fine to continue to use DI, but think carefully when you are using DI (framework/container) on Ruby..