How to Solve Any Programming Issue with Rubber Ducking
Вставка
- Опубліковано 6 жов 2024
- Learn to Code from Zero, With Godot: gdquest.mavens...
Godot Node Essentials (ultimate cookbook): gdquest.mavens...
---
👥 CREDITS
Video edited by Nesi: / nesiawesomeness
Script and idea by Lumenwrites: / lumenwrites
---
💌 JOIN US
Come chat on Discord: / discord
Follow us on Twitter: / nathangdquest
---
📝 CC-BY LICENSE
This video is licensed under the CC-By 4.0 license: creativecommon...
You can attribute it to "CC-By 4.0 - GDQuest and contributors - www.gdquest.com/"
This is a new kind of video written by our teammate Mike. We have three more Godot 3 tutorials on the way, coming very soon. We're now testing Godot 4... more on that soon (3D?).
3D on godot 4 would be appreciated :)
Appreciated
Please also some 2D! Though i know that most people look forward to Godot 4 3D features
It's fine until the duck starts actually talking back.
How did you get it to talk back? sounds helpful
@@kerenbuff he didn’t, his mind did
@@IB_exist what did his mind use to get him to speak?
My duck says that's normal
quack
While you don't necessarily need a rubber duck, it's highly recommended. The rubber duck is both cute and silly, which will take a lot of stress away from a debugging process, which in turn will relax you and help you think more freely.
And you can sit it on top of your cubicle when you need help, and people will come to you.
As programmer I can confirm that this works. Often when I'm stuck with issue I can't solve at work I ask for help colleague but in the middle of explaining I find working solution. Doesn't work always like that, but you have pretty big chance you'll solve it yourself just by explaining it.
Same! I end up at the point where I'm ready to "give up" and start writing up an email to another developer. I'll try to describe the problem as concisely as possible and 80% of the time that makes it click before I even finish writing the email. The other 20% is probably 10% I really don't know, and 10% the solution clicks about five seconds after hitting SEND, and then I get to send a "Nevermind, figured it out" follow up lol.
There's someone out there who's going to make a Godot app where you can talk to a rubber duck, and it just spouts off various Godot tips and common mistakes.
In other words, single player Stackoverflow.
Psychologist: Rubber duck doesn't exist. It can't help you.
Programmer: *keep explaining problem to rubber duck*
Hi i am from an third world countries and have watched you video for a while so when i go to buy your course i was suprise with the coupon it really help me to keep half of what i think i will pay
I now been through half the course and have learned alot
Glad to hear that it helped!
Without ever having heard the term I have been doing exactly this lately and absolutely benefitting from it. I guess I've always been in the habit of brainstorming with note taking apps and doodling in notebooks and whatnot long before I started learning game dev or programming (still a beginner) but it's proved hugely helpful on that front just over the last couple of weeks. Also sometimes I turn off the computer and go somewhere else (or get into bed if it's late) with a notebook and sure enough I have had some late-night epiphanies that I was then able to run with the next day.
Sounds silly, but there are times where I get stuck for hours, then go to ask, then get an answer around 40 minutes down the road on my own. So this probably works, and probably works well.
I keep my local copy of the Rubber Duck 6 feet away from me at all times, very useful 👍.
Ah yes, the old Dale Cooper "Diane" technique.
But what if the rubber duck starts talking back to me ?
do whatever he says 😈
his words are absolute
Ok, but I don’t want to talk to the duck on the thumbnail. That’s a creepy duck. He scares me.
I hate asking for help even at work so this technique has helped me so much in the past. Didn’t know it had a proper name
Me: *Work 5 hours on trying to fix a bug to only create 2 more bugs.*
Dad: And what does this do ? It write the list ?
Me: No no, its a for loop that analyse all the elements of the list to... Oh, that's it, here is the bug ! Thanks Dad !
Dad: *What ?*
The best place I've found to rubber duck is Discord help channels. I'll typically solve my own code questions and my post my own solutions to my own problem before someone randomly helps me, but at times when I'm stuck-stuck, then I usually get the help I need. 😂
That is why there is a shot in matrix 4 where neo sitting in a bathtub while on his head sits a rubber duck
The function of a rubber duck has been found at last.
When you solve the problem midway through your forum essay about why it should work in practice.
It really works. I use it when I can't understand something, then I try to explain it out loud to myself and understanding comes in the process of explaining. =)
I have only one thing to say: Quack.
I just watched, enjoyed, commented, clicked like and shared.
Rubber Duck stock prices after this video 📈
The method that worked the best for me is taking a break and do non programming stuff, like playing Rocket League, clean the house, going for a walk... And a lot of times, suddenly, the solution pops up
For me the title is *My whole day in a nutshell*
I had a rubber duck called quackers, best inanimate friend I ever had.
Brb ordering a box of rubber ducks online
Uhh the duck is writing code for me
In addition to that, sometimes all it takes is taking a break. I can't count the number of solutions I found while taking a toilet break ^^
I solve most of my issues by talking to people that don't understand what the issue is
Really odd, I had an idea regarding rubber-ducking yesterday and today, this video shows up!
Maybe one of you can help,
I saw a video and the guy in the video had a stress ball, well, a cube really, based on the Companion Cube from Portal, the one with the love heart on it.
Does anybody know where I can find this Portal stress cube so that I might squeeze it and talk to it? 😆 My future coding endeavours thank you.
Rubber Duck? Interesting way to spell ChatGPT!
No but in all honesty, I already can't count the times GPT was my Rubber Duck... You should try it. In laying out your problem well enough that Chat GPT can understand it you already come up with solutions often.
Then theres a poasibility that it even helps with the answer. EVEN if it answers wrong, it got me to look to certain places in my code which I knew wasnt the right place to look but I could also deduct that, perhaps if GPT doesnt find the issue ln the current page, it could be somewhere else. Happened twice today already.
I heard pets can make great rubber ducks.
Personally I just get up and go for a 10 min walk talking to myself
I will surely use it
didn't you release your videos on Odysee earlier?
I have similar technique. Cat and dog.
Pov: Quack 🦆
rubber duckies.
Rubber Ducking!
until half of the video I thought it was a shitpost :D
seems odd in the age of AI
rabbadack
Im 1 y old
Honestly I think rubber ducking is overrated. In many problems it does not help. E.g. I currently have a problem with Spring Boot. In this framework everything is working with magic (Annotations and a lot of background Stuff that is hidden). I want to do something, but it simply does not work. Rubber Duck wont help me, because I can not dig deeper into the problem, as everything is hidden from me by the framework.
This methods only can work when all the parts of the problem are accesable to you. And that is getting rarer these days with all the cluttered frameworks and low-code solutions.
In this case, unfortunately, I can't imagine that anything but changing tech will help (or shooting in the dark?). Perhaps you have to use this framework, in which case it's unfortunate, and I can imagine the pain.