Tagged Questions
14
votes
3answers
410 views
Does decoupling trump DRY in REST?
I am building a REST API to expose most of functionality of an existing Java API. Both APIs are for internal use within my organization; I do not have to design for external use. I have influence ...
3
votes
2answers
47 views
Should I use structure from a core library graphic toolkit in my domain?
In java (and many other programming language), there are often structure to deal with graphic element : Colour, Shape, etc. Those are most often in a UI toolkit and thus have a relatively strong ...
6
votes
2answers
311 views
Have I mistakenly assumed that my routines are loosely coupled?
My Selenium test structures goes as -
Data Object class -
public class RegistrationData {
String firstName = "test first name";
String lastName = "test last name";
// Getter Setter Here
}
...
8
votes
2answers
203 views
Low coupling processing big quantities of data
Usually I achieve low coupling by creating classes that exchange lists, sets, and maps between them. Now I am developing a Java batch application and I can't put all the data inside a data structure ...
15
votes
8answers
899 views
Is coupling with strings “looser” than with class methods?
I'm starting a school group project in Java, using Swing. It's a straightforward GUI on Database desktop app.
The professor gave us the code from last year's project so we could see how he does ...
0
votes
3answers
596 views
Improving Cohesion and Coupling of Classes
I am given this set of code and need to suggest ways to improve the code's cohesion and coupling of the classes. But I thought these classes are quite well de-coupled since it looks like they are ...