9

I have posted this question on codereview.stackexchange.com. Someone made me realize that it is not the best place to ask that question as they expect me, as the author, to understand why the code is written the way that it is. The same person gave me this link to educate my self. Still, I cannot decide where should I ask a question like this. Please advice me.

9
  • 1
    I'm no Angular expert, but it almost looks as if you're asking a question that would best be answered by finding and reviewing the API for the library. Dec 4, 2018 at 1:18
  • 4
    Not sure you should ask that question here.
    – Makoto
    Dec 4, 2018 at 7:57
  • 16
    Generally this question would be on topic here, but we'd expect you to ask a more detailed question about it. What did your research and understanding reveal that you do understand? What precisely don't you understand about it? Just giving us a piece of code and asking us to explain it could take ages, if we're starting at how the interpreter parses and compiles the code into executable byte code which–––CARRIER LOST
    – deceze Mod
    Dec 4, 2018 at 9:36
  • 5
    tl;dr: Showing your efforts usually makes us answering your question easier.
    – user202729
    Dec 4, 2018 at 10:26
  • I would like to thank you all for the opinions. I made the question narrower and specific. Dec 4, 2018 at 21:48
  • 5
    @KushanRandima That question (as currently posed) seems reasonable for stack overflow. I probably even know the answer :) Dec 5, 2018 at 15:56
  • 6
    Also, before posting any code that doesn't belong to you, you need to make sure it is appropriately and compatibly licensed. Dec 5, 2018 at 16:19
  • @RoddyoftheFrozenPeas, the code is not restricted to use, copy, modify, merge, publish, distribute, sublicense, and/or sell. Dec 5, 2018 at 21:58
  • Original question has already been asked and answered on Stack Overflow at least twice, see What is setTimeout doing when set to 0 milliseconds and Why is setTimeout(fn, 0) sometimes useful?
    – artem
    Dec 6, 2018 at 22:45

0

You must log in to answer this question.

Browse other questions tagged .