I posted a thread about side-effects. Some one replied that your
clojure functions should return a value. This is good advice, but I
have code that sometimes return nil. Is it better to return 'nil' or
an object with no data. I guess a simple example, if you have a
function that returns a string. Should you return a valid string or a
zero length string for all of your functions.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---