Posts by Daniel Vasconcelos • 146 points
2 posts
-
7
votes1
answer3026
viewsA: what is a service and what is its difference to a controller?
The role of what we call controllers is to orchestrate the data received by your Java application. It should handle system entries with some checks, such as data types, for example if a mandatory…
-
6
votes4
answers542
viewsA: Is there a design standard or recommendation that defines the optimal amount of parameters a function should have?
There are some recommendations in the literature. In Robert Martin’s Clean Code, there is a section that mentions this topic specifically (Chapter 3, Function Arguments section). There is a quote…