Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 271525

Questions about problem solving and planning for a solution through software design.

6
votes
I would look at it this way: A method should either call other methods (in same or other objects) which makes it a composed method or do "primitive calculations" (same level of abstraction). The re …
answered May 5 '17 by Timothy Truckle
0
votes
How do I go about unit testing a private method You don't! Unittests verify public observable behavior (where "public" does not imply public visibility of the tested interface...) which is the …
answered Oct 25 '17 by Timothy Truckle
0
votes
As long as you have only one place in your code where you have to do this discrimination you should stay with it. But if you have more places where you need to apply different behavior upon the namesp …
answered Sep 5 '17 by Timothy Truckle
5
votes
What about that: Your Model (the figure classes) have a common methods you might need in other context too: interface ChessFigure { String getPlayerColor(); String getFigureName(); } The image …
answered May 21 '17 by Timothy Truckle
0
votes
good database design: do not let your users directly access the tables in your database. Provide access via views. When the user runs DML against them you can change, add or remove fields as your …
answered May 29 '17 by Timothy Truckle
1
vote
To me it look like repository and stats should live in a different object: class RepositoryStatistics{ private final Repository repository; private final Statistics statistics; private final Co …
answered Dec 17 '17 by Timothy Truckle