Hi,

Am 16.03.2009 um 23:39 schrieb Elena:

- the REPL could allow for an option to just warn about missing
definitions;
- when loading/compiling a file, Clojure could parse all definitions
before complaining about missing ones.

It seems that such a solution would offer both maximum flexibility
when prototyping and maximum sanity checking when finalizing the code.
What do you think?

I probably wouldn't notice such a change. I code in
the repl only very small snippets. To check my
expectations of some return value of a function or
the like. (Basically poor man's debugger)

Things like a function I write in a file and send them
to the clojure server, and only call them in the repl.

I almost never write a function like this.

(defn foo [] (let [x (bar)] (inc x)))

"Hmmm... So how might bar look like?"

It's almost always the other way around:

(defn foo [] (let [x (long ugly stuff)] (inc x)))

"Iek. I should refactor this."

Hmm... So maybe I don't do prototyping....

Sincerely
Meikel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to