Thursday, 5 November 2015

Nomenclature

I agonise over naming things when it comes to coding; names convey intention and purpose and are one of the first things you rub up against when trying to figure a out new concept or someone else's code - or your own from longer than a few days ago.

It's in this spirit I want to rename Closures as Captors (or Captures). When you read into it and discover that the term "closure" is used in reference to "closing over variables", I submit you immediately think "what?" and then "I wonder if them mean capture a variable?".

Thoughts?

http://www.blackwasp.co.uk/CSharpClosures.aspx

No comments:

Post a Comment