Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 2
    Your answers will be much clearer if you use identifiers that describe their function in the example, rather than classic foo and bar identifiers. My eyes glazed over after the third rhyme. Commented May 1, 2018 at 18:03
  • Above comment is true, but it doesn't make OP's answer wrong Commented Nov 15, 2019 at 19:36
  • @knickum Op only has a question....I don't see an answer. I am specifically responding to the point that OP mentioned they hadn't seen a problem debugging with anoynmous functions. If you can pass a function around, it can be called anywhere, debugging a stacktrace that has a function name in it is a million times better than doing so without because you won'thave any other way to locate it in that case. Commented Nov 24, 2019 at 22:30
  • @WesModes ugh, maybe I shouldn't have gone with rhyming...but the function of the functions(hehe) have no importance, it is litterally all about whether the names show or not. Commented Nov 24, 2019 at 22:31
  • I'm referring to @unflores as OP, as it is your answer that started this comment thread. So I'm agreeing with the other commenter (Wes Modes) that the rhyming doesn't help, but I'm also saying that doesn't make your answer wrong. Commented Nov 26, 2019 at 16:30