So in your mind, a compiler pass is somehow supposed to be similar to the wind blowing, and despite the fact that "tree shaking" makes no reference to the wind or dead branches or leaves, you think anyone seeing this term will immediately make this "completely obvious" connection, and to you, this makes more sense than simply calling an optimization a straightforward, self-explanatory name like "reachability analysis" or "dead code elimination".
It's no wonder naming things is considered one of the hardest things in computer science if this kind of convoluted argument makes sense to people.
It's no wonder naming things is considered one of the hardest things in computer science if this kind of convoluted argument makes sense to people.