Skip to main content
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
Results for rubber duck
Search options not deleted
2 votes

How long should we generally spend writing unit tests for a new feature or bug fixing?

Writing tests is an excellent rubber-duck debugging technique that has precipitated a number of light-bulb moments for me. …
Stanley G.'s user avatar
4 votes

Naming a method that does the same thing faster but only approximates the result?

(Give the answers to your rubber duck — out loud, ideally.) What's in your caller's head? How did the person looking for the faster result ask you for it? Was it, "Hey, this is too slow. …
svidgen's user avatar
  • 15.2k
71 votes

What's the correct way to do pair programming?

Some need rubber duck time (a sounding board if you're of the silver hair set). Pair programming isn't for every problem all the time. …
candied_orange's user avatar
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 Rubberduck with no fly method described in the Head First Design book. …
Auro's user avatar
  • 291
0 votes

When do I stop being paranoid about my code failing?

Well, lots of ways: Rubber duck it Talk through the design with someone else and see if they can spot any problems. …
Robbie Dee's user avatar
  • 9,815
8 votes

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. …
candied_orange's user avatar
1 vote

How to adapt Clean Architecture to a rich desktop application

You can work with the application layer right from the UI (like you surmised in your rubber duck session) You may not need all the things in each layer for your particular app, but if you did you know …
Berin Loritsch's user avatar
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) …
Mathieu Pagé's user avatar
4 votes

Should linters no-magic-numbers rule used in testing?

They can then act as a as a form of rubber duck debugging when you justify to yourself why the linter is wrong in a particular case. …
simbo1905's user avatar
  • 452
2 votes

Working as a sole developer: getting code looked over

This is effectively rubber duck debugging. … You obviously can't rely on what the rubber duck actually says. …
Flater's user avatar
  • 56.3k
0 votes

How can you achieve and maintain flow while pair programming?

It is also hard for me to talk to an imaginary rubber duck or a real one for that matter. I am after all in "flow". …
uttamkini's user avatar
  • 121
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/rubberduck debugging). …
Caius Jard's user avatar
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 rubberduck), but I'm curious as to people's answers how to handle these types of updates. …
JamesT's user avatar
  • 428
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. …
Michael Borgwardt's user avatar
1 vote

Avoiding All Nighter Situations in Software Development

Start with a rubber duck. They're good listeners. It's probably a data issue. I never trust anything works until I have a way to visualize data. …
candied_orange's user avatar

15 30 50 per page