go-proverbs / go-proverbs.github.io

Inspired by @rob_pike talk at Gopherfest SV 2015
MIT License
334 stars 21 forks source link

Proposal: Closures conceal encouraging others to gleefully steal. #22

Open WhisperingChaos opened 7 years ago

WhisperingChaos commented 7 years ago

Closures hide a function’s inputs from its outputs greatly increasing encapsulation thereby reducing coupling and encouraging the function’s reuse by other developers.

Yes, this proverb can be universally applied to closures but so can the one regarding reflection.