49

18 hours can't fix a bug

go to stack overflow spend 2h writing the question

post question

of course get a downvote in less than 50 seconds

then i thought: hold on while people answer me here, let me try one more thing

i try one more thing

it works

EVERY TIME, JUST AFTER ASKING SOMEBODY FOR HELP, I SOLVE IT BY MYSELF A FEW MINUTES LATER.

DOES THIS HAPPEN TO ANYONE ELSE?

Comments
  • 16
    @DLMousey For a good question, that's totally okay.
  • 17
    Yes. It happens to me as well. That's why I use the "answer my own question" flag quite often after I worked myself to the solution.

    Ignore the random down-voters, embrace criticism and edit your question accordingly and you'll be fine.
  • 4
    Sane happens to me, sometimes writing your question clarifies a lot
  • 3
    @SukMikeHok It's great that you solved it and that you actually took the time to articulate your question precisely!
    I hope you also added your solution to SO so others can $$$profit.
  • 5
    a.k.a Masochistic Rubber Ducking
  • 2
    Taking a break also probably will help
  • 1
    @sergiolarosa89 I relate to spending 2h writing a question for sure, saying everything you tried, trying to convince people you're not clueless
  • 0
    Happened to me yesterday. The code was

    return Promise.resolve(()=> {...})

    Should have been

    return Promise.resolve().then(()=> {...})
  • 1
    The first step of debugging is to talk to someone, explain your code
  • 0
    When i was a beginner in programming, i used to get downvotes.
  • 1
    @gungah This looks convoluted though. I don't recommend mixing the flat async/await-syntax with the callback-based `then`-able syntax.

    Depending on what your `...` stands for I think you rather want to do either:

    return ...;

    which is equivalent to: `return Promise.resolve(...);`

    or

    return new Promise((resolve, fail) => {
    ...
    resolve()
    });
  • 0
    Why do you think we have dev ducks for?! 🤔
  • 1
  • 0
    @SukMikeHok lol & ew!?!!!
Add Comment