Domain Modelling

2010-01-25 Thread Barry Dahlberg
Hi, I'm an experienced C# / .Net developer and a relative Lisp newbie. In my .Net programming I have taken a lot of design inspiration Domain Driven Design and Eric Evans book in particular. The idea that a developing a strong model of the problem domain is the most important part of application

Re: Domain Modelling

2010-01-25 Thread Barry Dahlberg
Thanks for the thoughts everyone, I'm having a read through that paper now. I'm still looking for some code to read because while what you are saying makes, I've done so much OOP my brain is having a hard time making the jump. Also added it as an suggestion in this thread if anyone else is intere

Re: Domain Modelling

2010-01-31 Thread Barry Dahlberg
mprehensive examples, "Domain Modelling with > Clojure" write up. > > On Jan 25, 12:30 pm, Stuart Sierra > wrote: > > > On Jan 24, 4:29 am, Barry Dahlberg wrote: > > > > It is obvious (to me) how to go about this in C#...  a class for > > > Product,

Re: Domain Modelling

2010-02-01 Thread Barry Dahlberg
wrote: > On Sun, Jan 31, 2010 at 10:33 PM, Barry Dahlberg > > > > wrote: > > Perhaps I'll write up my findings once the language stops intimidating > > me. > > > At the moment I'm writing an account "object".  I have some standard > >

ClojureCLR and WPF Data Binding

2010-05-08 Thread Barry Dahlberg
Hi, I am doing some experiments to see how ClojureCLR could help with some of the challenges in building WPF applications. My question is, what sort of Clojure object can I use as a data context for WPF data binding? For example, given the following XAML: Using Clojure I would like to set

Re: ClojureCLR and WPF Data Binding

2010-05-08 Thread Barry Dahlberg
Binding to: {"Foo" "Bar"} With the slightly modified XAML: Prints "Bar" as expected. Close. -- 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 ar

Re: ClojureCLR and WPF Data Binding

2010-05-08 Thread Barry Dahlberg
Progress! I may be talking to myself but I figure I should record any answers beside the question. I now have this XAML: Binding to this map: {:foo "Foo value.", :bar "Bar value."} .Net has custom type descriptors which allow you to tap into the reflection process and mess with

Re: Clojure's n00b attraction problem

2010-06-28 Thread Barry Dahlberg
I use Clojure every now and then because the ideas in the language really appeal to me, but I usually find there are so many things distracting me from writing code that I've never really managed to get any good at it. I'm primarily a C# programmer where a lot of initial choices are very easy (goo

Re: IDE agnostic question on user assistance (emacs/vimClojure users help appreciated too !)

2010-07-19 Thread Barry Dahlberg
As a Clojure newbie coming from Microsoft land I was surprised by the answers here. Eclipse / CCW is the IDE I've used most so far and I've always wondered why it didn't just open the REPL for me and have it always there. Having it up to date with my latest code files is great because I mostly us

Temporary defs

2010-12-04 Thread Barry Dahlberg
Hi Clojurians, I have a macro which creates a function for me and I would like to add some unit tests using clojure.test. How can I create a temporary scope so that any functions defined during the test are undefined afterwards? Here is a trivial example to illustrate: (deftest my-def-macro-test