Skip to main content

Questions tagged [coupling]

0 votes
2 answers
204 views

I am doing the frontend for a Java Spring backend. The project uses JavaFX for the front but I a migrating it for web usage (with VueJS). When I make an API call to retrieve an object, I am receiving ...
Bernardo Benini Fantin's user avatar
1 vote
2 answers
102 views

I am reading "Fundamentals of Software Architecture" by Mark Richards & Neal Ford. They introduce the notion of an architectural quantum (p 92): An independently deployable artifact ...
Steven Jeuris's user avatar
2 votes
3 answers
488 views

Formatting multiline statements is an arcane art that most auto formatters and style guides can't help you with. One habit I picked up is to ensure renaming things wont cause multiple lines to need to ...
candied_orange's user avatar
4 votes
5 answers
686 views

I'm trying to better understand cohesion and coupling. More specifically, I'm trying to use examples to better cement the concepts and one of the most common examples I see goes something like this. ...
SuperJumbo's user avatar
0 votes
3 answers
419 views

As far as I know, coupling is about counting number of other classes in a class, so for the following program that emulates a UI program that shows "WelcomePage" at start and also pops a ...
wcminipgasker2023's user avatar
0 votes
1 answer
103 views

We are migrating a template that was a mere questions array questions [ { type:text, name:first, value:What is our name },{ type:radio, name:favourite fruits, value:[ ...
veritas's user avatar
  • 131
3 votes
4 answers
545 views

According to Why define a Java object using interface (e.g. Map) rather than implementation (HashMap), I know I should declare the most abstract type possible, so for example: public interface Fruit{ }...
wcminipgasker2023's user avatar
0 votes
0 answers
432 views

Quoting this article - The Other key differences: gRPC vs. REST section (client server coupling): Client-server coupling REST is loosely coupled, which means the client and the server do not need to ...
Veverke's user avatar
  • 541
-1 votes
5 answers
185 views

We are often told to avoid sharing business data across service boundaries. However, I tend to see the need for a service to access data from a different service. An example of this would be IT ...
geeko's user avatar
  • 256
1 vote
2 answers
646 views

As part of an university project I am currently working on an eeg-biosignal classifier. While the project itself doesn't really focus on design ("anything that works") I am trying to learn ...
J. Lo's user avatar
  • 21
0 votes
1 answer
169 views

I'm trying to find the best solution to abstract the return type of the service layer. I have a controller that calls a service to create a user. The service calls a REST API and receives an HTTP ...
Achref RIAHI's user avatar
1 vote
1 answer
860 views

I have a UI for a tool with a fair amount of user interaction. Imagine a sports tournament predictor where you select which team will finish 1st in the group, 2nd in the group etc., with the winners ...
MSOACC's user avatar
  • 965
0 votes
2 answers
448 views

So I've got a simple object recognition app in iOS. I am trying to create an Interface-Adapter for the machine learning / computer vision like this: protocol MachineLearningInterface { func ...
Bawenang Rukmoko Pardian Putra's user avatar
16 votes
7 answers
5k views

One thing I've long struggled with being able to grasp properly is, when designing a program in an object-oriented language, where and how should explicitly named/defined interfaces be added? In ...
The_Sympathizer's user avatar
1 vote
3 answers
1k views

Currently we have a MicroserviceA which has a database of objects that need to be hydrated with some KI calculated data. For this it queries MicroserviceB via REST in batches and inserts this into its ...
rStorms's user avatar
  • 113

15 30 50 per page
1
2 3 4 5
11