Search Results
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 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
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 |
3
votes
1
answer
1k
views
Model-View-Controller design question (One vs. multiple models for multiple view+controller)
To the left there is a table view, which shows a number of available rubber ducks. Each rubber duck has a number of attributes, which are not editable and mainly used to sort the table. … Application B contains the same listview, but here the right view is used to compose an image of a rubber duck race. That means you can add one or more
rubber ducks from the table. …
1
vote
2
answers
476
views
Inheritance vs 'specification' by fields
'Rubber-' or 'Redhead-Duck') inherit. All of these ducks have a display and quack method. … a 'Rubber-Duck'
}
}
class RedheadDuck extends Duck
{
@Override
public void display()
{
//Display a 'Redhead-Duck'
}
}
But my question is: Wouldn't it make much more sense …
69
votes
Accepted
Most underestimated programming tool
A rubber duck. Yes, really. … http://en.wikipedia.org/wiki/Rubber_duck_debugging
Rubber duck debugging, rubber ducking, and the rubber duckie test are informal terms used in software engineering to refer to a method of debugging …
0
votes
Which is better design: Determining if a function should execute from outside of it, or insi...
I suggest you consult with the mythical rubber duck of the "Rubber duck debugging" fame. Don't be fooled by his debugging powers because he is also adept at figuring out design issues. …
0
votes
0
answers
33
views
Bulk REST update affecting unknown resource ids
collection as it's effectively "update all", but "show only this one" is "update all to hidden, then update this to not hidden"
I think I may have answered my own question during the typing of it (thanks rubber … duck), but I'm curious as to people's answers how to handle these types of updates. …
3
votes
1
answer
155
views
Is it bad to pass a reference to the behavior's owner object to the behavior?
class RubberDuck {
DuckBehavior duckBehavior;
string name = "Rubber Duck";
public RubberDuck(){
duckBehavior = new DuckBehavior(this);
}
}
class DuckBehavior {
private Duck … _duck;
public DuckBehavior(Duck duck){
_duck = duck;
Console.WriteLine(duck.name + " is floating.");
}
} …
13
votes
How to take a step back and look at code with fresh eyes?
Rubber duck debugging: Sit down with a piece of code or a module or a feature and explain it, out loud. …
3
votes
Recommend self-talk logger software or technique
Get a rubber duck. But seriously, don't overthink that, or you will lose the benefits of this technique. …
44
votes
How do you tackle really bizarre errors that keep you puzzled for more than 10 hours?
Describe the problem to someone else, anyone else, even your rubber duck.
Ask someone else to take a look at the code, or step through it with them.
Isolate it. …
0
votes
I can't remember programming 5 mins after learning?
Try to explain what you just learned, it doesn't matter to whom (it can be the famous rubber duck), just be serious and patient, and don't leave out things that are "obvious", but pay attention to the …
2
votes
2
answers
826
views
How to design different moves of different pieces of a Chess game using OOP principles?
piece would have to implement, but then this might lead to a lot of code changes if, in future, I decide to change the move validation mechanism of a specific piece, something similar to the case of Rubber … duck with no fly method described in the Head First Design book. …
6
votes
4
answers
4k
views
How to adapt Clean Architecture to a rich desktop application
(As I wrote this, the rubber duck effect kicked in and I now think that maybe I should always go through the application layer. I would still like to know what more experienced people think) …
2
votes
When should the programmer's spoken language be used during development?
My rule of thumb is to describe what the method does to a rubber duck in English. …
4
votes
Accepted
What strategy to better articulate myself when summarising technical details
Practice it when you're alone by describing some technical requirement to a rubber duck and consciously force yourself to speak slowly and not veer into details. Then practice some more. …
9
votes
2
answers
375
views
Is there a name for the concept of "fix the problem, not the broken solution"?
as a software engineer and how you should avoid it.. then come back and we can fix the actual problem" in a SE flavoured way (like, I'm sure teachers have their own context word for cardboard analysis/rubber … duck debugging). …