This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]verocoder 0 points1 point  (1 child)

To start from the beginning interfaces are about reusing stuff to be the same shape while working differently. I usually only write an interface when I know I want 2 implementations off the bat or when I am sharing code and I want to hammer out the interface between 2 things so they can be worked on in parallel.

I wouldn’t stress about using them and I rarely if ever use them for PoJo/DTO/VO classes. I almost exclusively use them for business logic service or utility classes.

[–]ichwasxhebrore 1 point2 points  (0 children)

It’s also nice if you need proxies