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

> But for web development, in general, these languages have proven themselves for so long it's getting quite ridiculous now to say they won't work.

And I don't think web development is where Go is getting traction. More in back end services and infrastructure.

> Java/Spring dependency injection is jumping through hoops just to provide a testable framework I find it hard to believe it's any easier.

As someone who develops with Spring everyday, I don't think it's the best solution for anything.




What are your main pain points with Spring?


Annotation oriented programming.

Having the code execution paths radically change by adding an annotation to a method or a class makes it very difficult to reason about what it will do when deployed.

If that annotation you found through Google does what you want and expect, that's great. But if it doesn't, or fails in unexpected ways, debugging it can be a nightmare.


This always baffled me -- when Guava came on the scene, and when Spring also adopted annotations...

The whole original point of dependency injection was to decouple dependency management from the code, to make it easier to test, and easier to reason about and analyze.

DI via annotations goes ahead and sticks them right back in there. And now we have, like you say, magic code that is difficult to reasona bout.

XML sucked, but annotations sucked more.


Its interesting that a java framework is so "magical", feels like it goes against the java mindset I know.


Yes, that's what makes it so terrible. All of the "action at a distance" complexity of Ruby meta-programming, with none of the concise and easy to read code!




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

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

Search: