The clean-code tag has no wiki summary.
2
votes
2answers
139 views
Should accessible members of an internal class be internal too?
I'm designing a set of APIs for some applications I'm working on. I want to keep the code style consistent in all the classes I write but I've found that there are a few inconsistencies that I'm ...
6
votes
1answer
212 views
How to hide AOP implementation dependency without breaking encapsulation?
I have the concept of a SlowLoading thing:
public interface SlowLoading {
boolean hasLoaded();
}
I also have a component MyComponent:
public interface myComponent{
void doSomething();
}
My ...
0
votes
0answers
53 views
Import data and modify
I should build an importer in PHP. So below you can see how it should work or how it currently works.
This is only a small example, the real importer is much bigger so the import() method is also ...