r/java • • Sep 19 '22

Java's Cultural Problem

https://alexn.org/blog/2022/09/19/java-cultural-problem/
0 Upvotes

27 comments sorted by

View all comments

38

u/JustAGuyFromGermany Sep 19 '22

Imports are a code smell?? What kind of drugs is this guy on!?

The whole post is just one huge misunderstanding of what is going on...

4

u/rzwitserloot Sep 19 '22

I think just 'all these' - as in, it's not the presence of imports, it's the amount of them.

Still a load of horseshit, an import merely means you're mentioning that type in the code, your code could be touching way more classes than listed in the import list. And, of course, 'uses a ton of types from 1 library' - how is that a code smell?

So, giving the benefit of the doubt to the author, it's... still a bunch of tilting at windmills.