Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why would those require 6 separate files?


They don't; you could put it all in one file but people tend to separate interfaces from implementation from types from ...


Interface, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: