:L thats not true. there are plenty of people who dont make their code public so they have no need to make an interface for easy use for other people. ie the place im interning at does that
| It's bad practice.|
That depends on what you are coding, and whether it is open or closed source.
Last edited on
^This. That's what I meant.
But he's probably going to be sending it to some sort of team, and it's always safe to assume they use that style, as many people do from the source examples I looked at.
i agree that he should be using an interface, you had just said thats usually the case and i was just informing you that its actually not. but yes, use getters and setters here
Btw who are you talking about :D