Tim Visher <tim.vis...@gmail.com> writes:

> On Mon, Aug 19, 2013 at 11:09 PM, Armando Blancas <abm221...@gmail.com> wrote:
>>> I'll point out as well that though I thought Yegge's criticisms of
>>> Clojure were a bit polemical (I guess that's his style), the single
>>> pass compiler issue was one of his biggest gripes, and I do think it
>>> still rings true. I feel like I have to babysit clojure in this
>>> regard, when I usually feel like clojure is babysitting me! :)
>>
>> Have you seen this? https://news.ycombinator.com/item?id=2467359
>
> That's what I was referring to. Was there something specific about it
> that you wanted to call out? :)


Actually, that's quite interesting, and I hadn't seen it before.

I can understand the reasons why forward declaration makes the
implementation of clojure easy, but it does seem to be pushing the
burden onto the programmer, rather than the language designer. I'm
particularly not convinced by the argument that "Lisps were designed to
receive a set of interactions/forms via a REPL"; forward declaration
introduces another circumstance where the state of your REPL can get in
a twist: your source might look like this...

(def y)
(defn x[] y)

then get changed to 

(defn x[] y)
(def y)

and working quite happily *until* you restart the REPL. Re-starting just
in case is a problem with most REPLs, and this doesn't help. On the
whole, I think I prefer compile warnings, rather than everything
breaking.

I seem to have stirred up a bit of a nest.

Phil

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to