> 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

imho, null/nil/etc. are more often than not pretty evil.

random related links:
http://lukeplant.me.uk/blog.php?id=1107301659
http://weblogs.asp.net/fmarguerie/archive/2009/02/12/null-object-design-pattern.aspx

sincerely.

--~--~---------~--~----~------------~-------~--~----~
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