Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You have never done this? I don't do it with a duck exactly I just try to explain the current silly me what the past stupid me was trying to accomplish
-
The thing is that when you code you write to make the program do what you want, but you are not really thinking about what does each instruction do.
When you go and read it to yourself you try to understand what instruction does and if it matches what you thought it would do. Which in turns lets you fix the bug -
@Positive07 ya it is self-explanatory. Just i wasn't knowing about this rubberduck debugging thing.
-
My code is flawless I don't need a duck
...said no one ever
But I actually can't use this technique -
I think this idea was introduced in the 1999 book The Pragmatic Programmer, in a chapter about debugging.
That was one of the best reads on programming I've ever had. -
Replied to a previous similar rant. I use my wife as a rubber duck. Well, not floating while i bathe, i mean talking to her about bugs, mostly monologues. And it helps. I fix tons of stuff like that.
-
@repollo no, just kidding. :) Or am i?
Python for the web? Just curious. I've done some django back in the days. What are your weapons of destruction? -
repollo808y@pagongski please dont your gonna make me cry.
Anyhow, flask + redis, was just finishing a user session authentication management microservice.
But im using django in other web app. I hope to be disassembling to microservices soon too. -
@repollo miss python. Have to admit i never used as much, or was as proficient, with it as i wished, but maybe someday i will return. Where i work, projects are technology agnostic, i can use anything i want as long as it works. Sounds good, but it isnt. Basically means my boss is a moron. At least i have some freedom (or tge illusion of it)
Very simplistic vision of my work place. One day i will rant the sh*t out of it.
Surely your code is perfect. :) -
repollo808y@pagongski no man, my code is long ways from perfect. Actually, im not even sure if thats even possible, we still need to change lots of different mechanisms and tecs before we can actually start living on mars. There’s still long ways to go. And im not really sure if python is the correct way to go. Just think of a server running on a relay satellite on a orbit of mars. What tech will it use? Assembly? C? This are the questions in my head. JS seems promising but needs way too much modules to be able to run to the bare metal, similiar to C. Im working on APIs, hyperconnectivity and O2O. A couple of people have told me is IoT, but no, is way more complex, in a short line: Im trying to figure out which should be the starting standard(draft) for connecting the planets resources to the digital world.
Related Rants
Anyone knows about this?? Now, i understood why devRant provides us a rubberduck in avatar's desk. 😂🐤
undefined
bugandtheduck
funnyfriend
rubberduckdebugging