Reputation
4,277
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
9 28
Newest
 Cleanup
Impact
~120k people reached

Jun
26
comment How to avoid …Helper or …Manager classes
Agreed. All three of "Helper", "Manager", and "Service" are ways that we group methods to avoid tons of super-specific classes with a single method, but "Service" has a little more meaning, as you described. I would add that it implies that the class is part of the service layer interface, helping to simplify access to the business logic (which may be made up of many more specific classes) for a given domain class. Whether the suggestion logic should be in a separate class from the add/remove logic depends on how complex the suggestion logic implementation is.
Jun
26
comment How to avoid …Helper or …Manager classes
Changing the suffix from "Helper" to "Service" doesn't make it any easier to get an idea of the class's responsibility by its name, which I think is the heart of the question.
Jun
25
comment Repository pattern vs DAO managing Entities
Patterns of Enterprise Architecture has a great section on data access patterns. If I remember correctly, Fowler's Table Data Gateway is analogous to a DAO, so a lot of the patterns he describes in the book have been implemented in ORM libraries.
Jun
19
comment Modern frameworks method conventions
That's often called a "fluent" style.
Jun
15
comment How to quantify the work perfomed by a developer/programmer?
The team should strive to avoid taking on difficult to develop features that don't add as much value to the business.
Jun
12
comment Is my mentor's concern for code quality excessive?
First-line quote attribution: stackoverflow.com/a/878436/421245
Jun
8
awarded  Cleanup
Jun
8
revised Way to organize repetitive text in Java
rolled back to a previous revision
Jun
8
revised Way to organize repetitive text in Java
removed comments
Jun
5
comment Tomcat Backend & Java Desktop Client
If you want to avoid web services, look into exposing a JMX service.
May
29
comment How can I create a data model to efficiently answer the question of - where to place my db-interaction code I am about to write?
Fowler outlines various techniques in Patterns of Enterprise Application Architecture. It's worth the read.
May
22
answered How should an API or server respond when a device connects with a different account than it is bound to?
May
22
revised How should an API or server respond when a device connects with a different account than it is bound to?
grammar
May
20
comment REST API design: POST (implicit userId) vs PUT (explicit userId)
We're in agreement on server-side authorization. Accepting a userId filter as in your example for a news resource is confusing at best; collection filters don't belong in the path, they belong in a GET parameter. If an ID is supported as a child resource of a /news resource, it should be interpreted as a specific news ID.
May
20
comment REST API design: POST (implicit userId) vs PUT (explicit userId)
Filtering has to happen on the server side based on authentication info, otherwise a user sending requests outside of the UI would be able to access to more than they should.
May
18
comment Design suggestions for converters in Java
Could you provide an example?
May
1
reviewed Approve Why is negative zero important?
Apr
24
comment Automatic builders/chain setters for Java?
Project Lombok has (along with lots of other great annotations) @Builder.
Apr
20
comment Difference between Throttling and Rate limiting in API Management
It looks like you're trying to clarify your question; instead of adding an answer to do so, edit the question. You may want to check out the help center to understand this site better.
Apr
17
reviewed Approve Is it ever a good idea to hardcode values into our applications?