|
|
|
|
|
by andybak
2614 days ago
|
|
> The important thing is restricting your public interface That is the important thing sometimes. At other times the important thing is to provide a flexible, fluent public interface that can be used in ways you didn't intend. It really depends on what you're building and what properties of a codebase are most valuable to you. Encapsulation always comes at a cost. The current swing back towards strong typing and "bondage and discipline" languages tends to forget this in favour of it's benefits. |
|
That scares me. How do you maintain and extend software used in ways you didn't intend?
Quality assurance should be challenging.