News for hackers. Stuff that matters.
Re:Write tests. Not too many. Mostly integration by hacker_9 on Friday October 27, 2017 @05:02AM (#15566772)
Usually splitting out into interfaces is done in static languages as that's the best type-safe way to do things. It's not a fad, it's been like that since the beginning.
Re:Write tests. Not too many. Mostly integration by kelnos on Friday October 27, 2017 @05:33AM (#15566883)
There is absolutely no reason (except to fit into a particular pattern of testing) to turn everything into an interface[1]. That has nothing to do with type safety.

[1] Obviously some things do make sense to put behind interfaces, but I find that most Java developers go interface crazy and the code ends up being an unreadable mess.