Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Injection doesn't mean automatic, or magic.

And if one goes back 20 years, constructor based injection was the norm, the magic only came later thanks to Aspect Oriented Programming, yet another tool that Go will never adopt.



Sure, but I don't recall it being called "injection". Obviously we are in agreement that dependency references are introduced via some mechanism. Also AOP came [after] Java J2EE and Spring. However I will concede that there is a distinction between 'inversion of control' and general DI.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: