function hoisting and style

In my last post, I wrote about the importance of naming your Javascript functions and the impact it has on observability. This time around I'm going to diverge from factual presentation, and talk about oft-debated coding styles. Some (many?) of you won't agree with me, but I'm right.


name your javascript functions

For the sake of your future self who's debugging the code you're writing today, and for all those who depend upon any code you publish to NPM... name your functions. Please.