Hi,

Just one point:

2009/8/30 Dan Fichter <daniel.fich...@gmail.com>

> Read the contents of a file.
>
> [Clojure]
>
> (slurp filename)
>
> [Python]
>
> open(filename, 'r').read() # who cares about closing files opened in
> read-mode?
>

"who cares about closing files opened in read-mode" ?

I would say anybody concerned about blowing up the underlying OS if not
releasing files handles (especially if you open files in a tight loop), or
do I miss something ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to