▲ | procaryote 7 days ago | |||||||||||||
Put it in a function and the scope you pollute is only as big as you make it. | ||||||||||||||
▲ | hombre_fatal 7 days ago | parent [-] | |||||||||||||
Functions also pollute the scope the same way. And you don't want to be forced to extract a function that is never reused just to hide intermediate values; you should only have to extract a function when you want the abstraction. The pipeline transformation specifically lets you clean this up with functions at the scope of each ephemeral intermediate value. | ||||||||||||||
|