I think it's important to note that most of these discussions come from a time before it was common to rely on nameless anonymous functions in JavaScript. It's impossible (or at least difficult) to write self-documenting code in frameworks that lean heavily on them. So you need to add comments to replace the missing function names.

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

Responses (1)