Browse by Tags

Trick or Trait? Composite Oriented Programming with C#
21 August 08 03:36 AM | andersnoras | 0 Comments   
Last year, Rickard Öberg unveiled his Qi4j project. Qi4j is a framework for domain centric development thru Composite Oriented Programming (COP). Composition of larger objects from finer grained fragments is one of the core principles of this paradigm, Read More...
Filed under: , , , , ,
More on generics and Inversion of Control
06 April 08 09:29 PM | andersnoras | 4 Comments   
My last post on Java generics and the Repository pattern got a bit of interest. Judging from the feedback I got, I feel the need to elaborate on the Inversion of Control part of this. As some readers pointed out, Google’s Guice container employes Read More...
Filed under: , ,
Generics, Inversion of Control and Repository<T>
03 April 08 07:32 AM | andersnoras | 6 Comments   
Whenever I stray off the beaten path of Java generics, I instantly miss C#’s generics implementation. Earlier today, Java’s type erasure erased a few good hours of productivity whilst I was doing a spike on bringing the IRepository<T> experience Read More...
A framework for cross platform DSL development
31 March 08 06:42 PM | andersnoras | 6 Comments   
One of the challenges I have experienced when giving talks or blogging about domain specific languages is that developers are a little reluctant to writing code in languages they are unfamiliar with. This holds true even if the DSL in question is an external Read More...
Filed under: , , ,
Next Week's Speaking Schedule
22 February 08 04:24 AM | andersnoras | 3 Comments   
Fredrik Kalseth posted a notice about his talk for the Norwegian .NET User Group’s (NNUG) Vestfold’s chapter, so I thought I’d follow in his footsteps to inform the world about my speaking engagements next week. On Tuesday February 26th Read More...
Filed under: , , ,
Save Java, Dead or Alive!
18 February 08 03:11 AM | andersnoras | 2 Comments   
Whatever language you write in, your task as a programmer is to do the best you can with the tools at hand. A good programmer can overcome a poor language or a clumsy operating system, but even a great programming environment will not rescue a bad programmer. Read More...
Filed under: , , , ,
A Jerk in the Land of a Hundred Languages
03 February 08 07:00 AM | andersnoras | 2 Comments   
There is an article in this week’s Economist referring to a paper by Dr. Mark Pagel et al published in the latest edition of Science on (spoken) languages evolving in punctuational bursts. The key point in Dr. Pagel’s research is that evolutionary Read More...
Filed under: , ,
My ¢2 on Java Extension Methods
05 December 07 05:38 PM | andersnoras | 3 Comments   
A while a go Neil Gafter proposed extension methods as a new feature in Java 7. This is an interesting proposal and if it is implemented, it would make Quaere even better. I'll skip the tired list sorting example from the discussions and think out loud Read More...
Filed under: , ,
Lexical Closures, Deferred Execution and Kicker Methods
06 November 07 05:20 AM | andersnoras | 3 Comments   
Casper wrote an interesting comment to my screen cast about LINQ and Quaere auto completion which deserves an answer in the form of a blog post. As the title suggests you’re in for a ride through many different concepts in .NET, Java, LINQ and Quaere Read More...
Filed under: , , ,
Bare naked LINQ
18 October 07 06:07 AM | andersnoras | 10 Comments   
Some ever recurring discussions around Quaere are “this isn’t really LINQ for Java” and “cool, but this isn’t truly type-safe”. In this post I’ll dive into these topics by explaining how LINQ works… LINQ Read More...
Filed under: , , ,
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: , , , ,
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: , , , ,
Proving a point
16 June 07 05:04 AM | andersnoras | 0 Comments   
With my posts on reflection optimization for .NET and Java , I unconsciously proved a point from an earlier post on cultural movements within the .NET-community . I use a lot of open source frameworks in my work. One cool benefit this gives me is that Read More...
Filed under: , ,
If it quacks like a quack...
02 April 07 02:37 AM | andersnoras | 0 Comments   
Spell checking code can lead to some really funny misspellings. In my previous post I had an interface named IDuckService which the spell checker suggested that I'd change to quackeries . Naïve spell checking of code with Microsoft Words dictionary doesn't Read More...
Filed under: , ,
Packing light
17 March 07 09:53 PM | andersnoras | 2 Comments   
I recently got a new laptop and I made it an opportunity to be very conscious about which tools I would install rather than reimaging my laptop with the same configuration as I had before. This post gives you the what and whys of my new setup. This list Read More...
Filed under: , ,