This is the silliest thing I see paroted. Anonymous functions are there for one offs. Sometimes a one-off is two lines. Breaking it out into a separate function is ridiculous.
You end up seeing functions declared within functions so that people can work around this limitation and it is grotesque.