July 2007 - Posts

Ending a Legacy
25 July 07 08:51 PM | andersnoras | 3 Comments   
"Code without tests is bad code. It doesn't matter how well written it is; it doesn't matter how pretty or object-oriented or well-encapsulated it is is. With tests, we can change the behavior of our code quickly and verifiably. Without them, we really Read More...
Filed under: , , , ,
DSL Tools: A Complex Solution for a Simple Problem
24 July 07 09:43 PM | andersnoras | 5 Comments   
Last night I was unable to sleep, so I started reading Domain Specific Development with Visual Studio DSL Tools and I was immediately reminded of my rant about software factories . Just like with the software factories provided by the Patterns and Practices Read More...
Filed under: , , ,
The Mean Fiddler at Source Forge
18 July 07 06:24 PM | andersnoras | 1 Comments   
A couple of days ago, I blogged about Derrick taking over the Mean Fiddler demo to turn it into a real framework. I'm please to announce that the project is up at Source Forge. Derrick writes; "For all those interested, the SourceForge project is online Read More...
Filed under: , ,
More Checked Exception Madness
17 July 07 05:01 PM | andersnoras | 0 Comments   
My post on throwing undeclared checked exceptions got some attention. Of course you shouldn't use the sun.misc.Unsafe class, but what about these nuggets contributed by my readers? public void lookMomHeresANastyOldie() { Thread. currentThread (). stop Read More...
Filed under:
Look Mom, No Checked Exception
16 July 07 04:32 AM | andersnoras | 11 Comments   
I'm probably showing off an old trick here, but a fierce discussion over at the Norwegian JUG forum reminded me of it, and I thought I'd share it with new dogs who want to learn old tricks. The cause of the controversy is the ever so popular topic; which Read More...
Filed under:
Is it a bird? Is it a plane? It's a DSL!
15 July 07 06:11 AM | andersnoras | 7 Comments   
My latest posts on DSLs caused a bit of a stir around the blogosphere. Some of of the more constructive debates have been on wether a fluent interface is just a fluent interface or if it can be labeled as a DSL. I have a consultant's answer to this; it Read More...
Filed under: , , , ,
The Mean Fiddler plays on!
12 July 07 08:29 PM | andersnoras | 13 Comments   
A couple of months back I wrote a small demo showing how core features of Microsoft's Astoria could be replicated using NHibernate. I only wrote the demo to take on Andres Aguiar 's challenge on how long it would take to build Astoria after Ayende did Read More...
Filed under: , , ,
Behind the scenes of the planning DSL
09 July 07 10:54 PM | andersnoras | 28 Comments   
Last week I blogged about an embedded DSL for creating different calendar components like events and to do-tasks . For this post I'll let you in on some of the "secrets" of embedded DSL development in C#. Before we get started, let me refresh your memory Read More...
Filed under: , ,
I'm coming down with a serious case of the DSLs!
04 July 07 08:28 PM | andersnoras | 10 Comments   
Back in May chromatic published a tongue-in-cheek checklist to determine whether your code is a DSL or an API . Regular readers know that I've done quite a bit of fooling around with various embedded DSLs in Java and I assure you that getting serious Read More...
Filed under: , ,
IPoco?
03 July 07 04:52 AM | andersnoras | 3 Comments   
You've probably noticed by now that a new CTP of the Entity Framework has been released . One of the new features is oddly named IPOCO . This is supposedly a step towards persistence ignorance for users of the framework. While people are already having Read More...
Filed under: , ,