60

Anyone knows about this?? Now, i understood why devRant provides us a rubberduck in avatar's desk. 😂🐤

Comments
  • 2
    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
  • 0
    @Positive07 not tried it yet. Will do it surely.
  • 1
    Works flawlessly (unless race conditions and that stuff)
  • 1
    @Positive07 cool thanks! ✌
  • 2
    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
  • 1
    @Positive07 ya it is self-explanatory. Just i wasn't knowing about this rubberduck debugging thing.
  • 2
    I do this and it helps. I now have a collection of rubber duckys
  • 0
    @TheDevil plz share us with the picture. If, you don't mind. ✌🐤
  • 0
  • 0
    @arv09 yes!! Mate
  • 6
    My code is flawless I don't need a duck

    ...said no one ever
    But I actually can't use this technique
  • 1
    @DirtyBit hahahahha..
  • 2
    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.
  • 1
    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.
  • 2
    All the time...
  • 2
    @repollo err..you do know you have a bug in your code, yes? Just sayin' ;)
  • 1
    @pagongski For the love of Zeus, please be joking...
  • 2
    @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?
  • 2
    @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.
  • 2
    @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. :)
  • 1
    @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.
Add Comment