3 ms·
Why would those require 6 separate files?
by dharmab 3y ago
Why would those require 6 separate files?
- theshrike79 3y agoInterface, actual implementation, Factory, FactoryImpl, you get the idea. Java lends itself to over-engineering more than most languages. Especially since it seems that every project has that one committer who must be getting paid per line and creates the most complex structures for stuff that should've been a single static function.
- zimpenfish 3y agoThey don't; you could put it all in one file but people tend to separate interfaces from implementation from types from ...