|
|
|
|
|
by xyrouter
2955 days ago
|
|
Do other popular languages support a similar construct? C? C++? Perl? The Java try-with-resources was introduced in Java 7 (2011). The Python with statement was introduced in Python 2.5 (2006). The Lisp with-open-file has been in Common Lisp Hyperspec for a long time (1960s?). Not that it takes anything away from Java. I think all languages are gradually converging to the features of Lisp. |
|
Common Lisp The Language was published in 1984, CLtL2 in 1990, and the ANSI standard in 1994. I believe the hyperspec (which is not the spec) was published in 1996 or so.
CL is neither as ahead of its time or of another, past time as you might think.