Hacker News new | past | comments | ask | show | jobs | submit login

Are you suggesting that the fact that the language has special syntax for initializing a few types means it has better support for dependency injection?

I don't even understand the basic premise of that argument. It seems nonsensical.




I wouldn't put it that way; it simply means the ROI for a framework is lower, and in Go's case, it's zero or less. It makes perfect sense because Go's syntax servers the same main purpose as a DI framework--to reduce initialization boilerplate.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: