Hacker News new | ask | show | jobs
by F-W-M 542 days ago
Define that function directly in the place where it is used (e.g. as a lambda, if nesting of function definitions is not allowed). Keeps the locality and makes it obvious that you could just have put a comment instead.