I was doing this excercise:
And there was one thing that I kept asking myself throughout the whole exercise: What is the point of creating a whole new variable for a function with a long name, when you can just change the name of the original function and make it shorter?
Like in this example, why can’t we just delete announceThatIAmDoingImportantWork and put in busy instead. Wouldn’t this technically be faster and cause less scope pollution, since we’ll have less global variables?
Or is this excercise just for demonstration purposes, not intented to be efficient?
Sorry if this is a dumb question, but I was just a bit confused.