Comment Threads for togakangaroo

Why so lance? As much as I like Javascript (non-sarcastically, I do) - I find it a little hard to imagine programming in it server-side if Ruby is an option.
What do you mean Craig? I mean yes, Select is an instance of what I'm talking about and uses the same underlying principles but the usage is quite different.
Select is just a more general form of what he's doing (it's a full monad, rather than just a return). You can do everything shown in the article without any special interfaces and you can compose it with other LINQ functions, rather than being constrained to a specific API.
Absolutely you could do that, but I've yet to work up the guts to ditch interfaces entirely in favor of delegates. Plus by declaring interfaces and looking for good seams gives you an opportunity for some cool AOP stuff.

An good use would be automatic logging. Your IoC container can automatically intercept any IMapper<>.Map calls and log the input and output.

Popular (Front Page)

RSS | Twitter

Newest (may contain spam)

RSS | Twitter

Site Updates

Twitter