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

Meh, I've worked on services with in languages with a DI framework (Java+Guice or Spring Boot) and not (C++, Go) and the latter is much nicer. And yeah some had Xm requests.

You just dispense with all the frippery that hides the fact that you are depending on global variables if you really want the Guice/Spring Boot experience.

The C++ code was much, much easier to trace by hand. It was easier to test. It started much much faster, speeding iteration. Meanwhile the Java service was a PITA to trace, took 30+ seconds to boot, and couldn't be AOT compiled to address that because of all the reflection.



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

Search: