3 ms·
The "configuration hell" described here is what working in Spring was like (Spring.NET in my case). That style of coding takes the no-hard-coding mantra to an i
by serve_yay 11y ago
The "configuration hell" described here is what working in Spring was like (Spring.NET in my case). That style of coding takes the no-hard-coding mantra to an impressively ridiculous degree. And it really was hell, partially because your app is half "real code" and half XML, but also because you could break everything at any time by making a mistake in the config. Easy enough to check for that with smoke tests but it's still a terrible way to write apps. I think I'm still recovering.
- kedean 11y agoFor me the issue with spring-style configuration isn't so much the sheer volume, as almost everything has sensible defaults, it's the loss of type-checking. When everything is configured via xml, you have to run the app before you know if the configuration is even valid, and refactoring becomes hell because settings are all referenced via strings instead of qualified names.