Reputation
561
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 10
Newest
 Student
Impact
~5k people reached

Jun
3
awarded  Student
Jun
3
awarded  Commentator
Jun
3
comment Best practice for allowing mutation of a Collection type field
I never looked at it that way before - the DTO is really a builder for JSON (which it is)... I like it! I will keep that arrow in my quiver when the strict pattern nazis start asking questions.
Jun
3
comment Best practice for allowing mutation of a Collection type field
I thought so. Actually, I've already gone down the proxy road for add, but not for validation; rather to provide a consumer of a single value to hand to a stream. Previously, we were collecting to a list just so we could hand it to the DTO. btw, the DTO is mutable because it's passed through the hands of lots of enrichment objects, who each mutate the part they're responsible for. Finally, yes Jackson emits it as JSON. Could have used a builder, then created an immutable DTO, but there are just too many fields (inherited API that can't be changed)
Jun
3
asked Best practice for allowing mutation of a Collection type field
Nov
13
answered Why were punch cards used for programming
Nov
11
revised Is naming a class based on its implementation acceptable?
The class is called "TreeSet" not "SetTree". And there's no apostrophe in "its" (when used as the possessive of "it")
Nov
11
suggested approved edit on Is naming a class based on its implementation acceptable?
Nov
10
answered The source is the documentation - part 1
May
28
awarded  Nice Answer
Feb
23
awarded  Informed
Jul
12
awarded  Yearling
Feb
26
awarded  Constituent
Feb
18
awarded  Caucus
Feb
12
awarded  Editor
Jul
27
comment Design Patterns (java) — Strategy with fields. Ever acceptable?
Store the histories in a map of strategy-parameters --> history
Jul
27
answered Design Patterns (java) — Strategy with fields. Ever acceptable?
Jul
27
comment Design Patterns (java) — Strategy with fields. Ever acceptable?
What fields (ie "state") are you considering having in your strategy instances?
Jul
12
awarded  Yearling
Sep
14
comment a better approach for reviewing performance of developers?
Does the office itself get scored on how moronic its scoring systems are?