- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
Also, do y’all call main() in the if block or do you just put the code you want to run in the if block?
Also, do y’all call main() in the if block or do you just put the code you want to run in the if block?
I’m gonna have to disagree here, it’s always a guessing game of how many layers of abstraction they’ve used to seemingly avoid writing any implementation code… Can’t put the code related to “bicycles” in the
Bicycle
class, no, that obviously goes inWheeledDeviceServiceFactoryBeanImpl
that’s in the ‘utils’ package.Enough of that crazy talk - plainly
WheeledDeviceServiceFactoryBeanImpl
is where the dependency injection annotations are placed. If you can decide what the code does without stepping through it with a debugger, and any backtrace doesn’t have at least two hundred lines of Spring boot, then plainly it isn’t enterprise enough.Fair enough, though. You can write stupid overly-abstract shit in any language, but Java does encourage it.