2009/7/28 Meikel Brandmeyer <[email protected]>

> Hi,
>
> Am 28.07.2009 um 19:08 schrieb Jeff Brown:
>
>  Is that really the right thing to do?
>>
>
> Strongly opinion-flavoured answer:
> Never ever write code w/o namespace.
>
> Even scripts gain advantages if you
> provide an entry point in a namespace:
>
> - easier debugging since loading doesn't
>  fire off the script's actions
> - multiple entry points
> - easier re-use of the scripts functionality
>  as a library
>

Many +1 as well : if you start using an IDE (or if you care that some of
your users do), then chances are the IDE will try to periodically reload the
namespaces (event based or cron-like based), and having "scripts" firing
actions on load is a big no no for using those IDEs then :-(

-- 
Laurent

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

Reply via email to