←back to thread

257 points pmig | 1 comments | | HN request time: 0.225s | source
Show context
jayd16 ◴[] No.43099487[source]
Is it wrong that I judge anyone that calls DI "black magic"? Clearly it's just computers all the way down and even spring DI isn't that hard to follow.

It's one thing to call it bloated or annoying or tedious but why are we proud to announce we didn't do the work to figure it out?

replies(2): >>43099537 #>>43100863 #
1. psychoslave ◴[] No.43099537[source]
What do you call DI here?

Black Magic is doubly negative here, but I guess that it can fueled with the feeling that less automagic in a codebase helps downstream debug and moving to maintenance mode, as it increase the chance to let a quick grep reveals immediately where the associated code is.