Angel \”Java\” Lopez on Blog

September 21, 2011

Closures: Links, News and Resources (1)

Filed under: Functional Programming, JavaScript, Links, Lisp — ajlopez @ 10:35 am

Continuing with the study of functional programming, these are my recent links about closures:

http://en.wikipedia.org/wiki/Closure_%28computer_science%29

In computer science, a closure (also lexical closure, function closure or function value) is a function together with a referencing environment for the nonlocal names (free variables) of that function.[1] Such a function is said to be "closed over" its free variables. The referencing environment binds the nonlocal names to the corresponding variables in scope at the time the closure is created, additionally extending their lifetime to at least as long as the lifetime of the closure itself.

The concept of closures was developed in the 1960s and was first fully implemented as a language feature in 1975 in the programming language Scheme to implement lexically-scoped first-class functions. Since then, many languages have been designed to support closures.

Closures – A Simple Explanation (Using Ruby)
http://www.skorks.com/2010/05/closures-a-simple-explanation-using-ruby/

Javascript Closures
http://jibbering.com/faq/notes/closures/

Cerraduras: clojure en español: Qué es una closure
http://javierneirasanchez.blogspot.com/2009/06/que-es-una-closure.html

Yes! AjSharp has closures
http://ajlopez.wordpress.com/2010/02/05/functional-values-in-ajsharp/

AjLisp, too! ;-)
http://ajlopez.wordpress.com/2008/07/30/ajlisp-a-lisp-interpreter-in-net/

InfoQ: Lambdas in Java: An In-Depth Analysis
http://www.infoq.com/articles/lambdas-java-analysis

Closures – lambdaj – How lambdaj 2.0 brings (almost) real closures to Java
http://code.google.com/p/lambdaj/wiki/Closures

Closures, Javascript And The Arrow Of Time
http://gen5.info/q/2009/06/23/closures-javascript-and-the-arrow-of-time/

Scala function objects from a Java perspective
http://creativekarma.com/ee.php/weblog/comments/scala_function_objects_from_a_java_perspective/

Javascript Closures
http://www.jibbering.com/faq/faq_notes/closures.html

newLISP – Closures
http://www.newlisp.org/index.cgi?Closures

Tailcall anyone ? | Java.net
http://weblogs.java.net/blog/forax/archive/2009/12/18/tailcall-anyone

Groovy Goodness: Splitting with Closures – Messages from mrhaki
http://mrhaki.blogspot.com/2009/12/groovy-goodness-splitting-with-closures.html

Adequately Good – JavaScript Module Pattern: In-Depth – by Ben Cherry
http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth

Private Members in JavaScript
http://javascript.crockford.com/private.html

Tennent’s Correspondence Principle and Returning From a Closure
http://gafter.blogspot.com/2006/08/tennents-correspondence-principle-and.html

Code rant: C# Closure Constructors
http://mikehadlow.blogspot.com/2010/12/c-closure-constructors.html

Groovy vs. Scala – We Need a Closure… « GridGain – Cloud Development Platform
http://gridgaintech.wordpress.com/2010/02/09/groovy-vs-scala-we-need-a-closure/

Techniques, Strategies and Patterns for Structuring JavaScript Code – Dan Wahlin’s WebLog
http://weblogs.asp.net/dwahlin/archive/2011/07/31/techniques-strategies-and-patterns-for-structuring-javascript-code.aspx

InfoQ: Mark Reinhold on Closures for Java
http://www.infoq.com/news/2009/11/reinhold_closures_update
I should review the current state

Closures as a Response to Multi-core Processors? | Java.net
http://weblogs.java.net/blog/editor/archive/2009/11/25/closures-response-multi-core-processors

Closures are back again!
http://blogs.tedneward.com/2009/11/19/Closures+Are+Back+Again.aspx

Explaining JavaScript scope and closures – Robert’s talk
http://robertnyman.com/2008/10/09/explaining-javascript-scope-and-closures/

C# in Depth: The Beauty of Closures
http://csharpindepth.com/Articles/Chapter5/Closures.aspx

Functional programming in the Java language
http://www.ibm.com/developerworks/java/library/j-fp.html

Inheritance Patterns in JavaScript
http://bolinfest.com/javascript/inheritance.php

RE: What’s so cool about Scheme?
http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/msg03277.html

InfoQ: Language Parity: Closures and the JVM
http://www.infoq.com/presentations/gafter-jvm-closures

JavaScript, time to grok closures – Sergio Pereira
http://devlicio.us/blogs/sergio_pereira/archive/2009/02/23/javascript-time-to-grok-closures.aspx

Practically Groovy: Functional programming with curried closures
http://www.ibm.com/developerworks/java/library/j-pg08235/index.html

Closures + Lambda = The key to OOP in Lisp « Learning Lisp
http://lispy.wordpress.com/2007/07/18/closures-lambda-the-key-to-oop-in-lisp/

Did it with .NET – What’s In A Closure?
http://diditwith.net/PermaLink,guid,235646ae-3476-4893-899d-105e4d48c25b.aspx

Did it with .NET – Fibonacci Numbers, Caching and Closures
http://diditwith.net/2007/02/08/FibonacciNumbersCachingAndClosures.aspx

Closures and Continuations
http://www.pluralsight.com/blogs/dbox/archive/2005/04/27/7780.aspx

My Links
http://www.delicious.com/ajlopez/closures
http://www.delicious.com/ajlopez/closure

Keep tuned, more to come!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

2 Comments »

  1. [...] Closures C# 5 Windows 8 and WinRT Ruby Lambda Calculus Erlang Node.js (2) Haskell Mock Objects Scalability MapReduce TDD Git Domain-Driven Design Game Development REST Javascript HTML5 Windows Azure Node.js Object Oriented Programming [...]

    Pingback by Enlaces, Novedades y Recursos - Angel "Java" Lopez — September 24, 2011 @ 10:49 am

  2. [...] Closures: Links, News and Resources (1) [...]

    Pingback by Functional Programming: Links, News and Resources (1) « Angel “Java” Lopez on Blog — October 1, 2011 @ 10:50 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Shocking Blue Green Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 65 other followers

%d bloggers like this: