Neat uses of Optional Arguments in C#

I have been using .NET 4 for a while now but I have to admit I never thought well of optional arguments. My impressions gravitated between

  1. method overloading for lazy people
  2. hiding hideously designed APIS (Office COM Automation, I am looking at you!)

And so I have not used the feature extensively. But during the last week I have found a couple of usages that I can label as “useful”. Let me tell you about them:

Læs resten

Is Agile a Scam?

Yesterday, I bumped into an article that mentions a report published by a supposedly reputed analysis firm (and I wonder what sort of company that is, anyway) in which data from a study is interpreted, implying a conclusion which does not leave “Agile” is a good position.

Unfortunately, it is only available to subscribers, so the information I was able to grasp is second-hand one. If that second-hand information is any accurate in its quotes of the original report I feel more than fine not giving my money to such sort of company; if it isn’t accurate, well, it is law-less Internet anyway…
Even if I touch briefly on the report itself, I ask the reader to take the time to read the summary, its comments and the comment from the leading article; they are enlightening, amusing and infuriating in balanced proportions.

Læs resten

NMoneys 2.2

It is hard to believe the last release was on September. That only means one thing: I was about time!

There are quite a few changes in the release, so I will get straight to the point(s)

Money Allocation

2.2 should be a happy release. Why? Well, besides the fact it is the first release in more than 6 months it is the first one that contains code contributed by someone else but me.
Thank you, Berryl, for the feature, let’s hope it’s useful to many.

Læs resten

6. december: Quality Time

That is our goal with our latest initiative in the department:
spend quality time with like-minded co-workers when we have finished working. Doing what? One of the things developers like the most: writing code.

The initiative

When my colleague Thomas mentioned that it could be cool if people could gather some time after work to write more code I was a bit baffled. Why on Earth would someone want to do the same he has been doing for 8-ish hours instead of going home with his family, drink beer and/or knit? The logic of his answer is flawless: “Because it’s fun. And they already do it on their own”.

Læs resten

Heading Motherland

No, I am not leaving beautiful, cloudy Denmark. Well… I am, but just for some days.

Why anyone cares? Because it is not for (all) pleasure. As a matter of fact I will be doing something that I had liked to do for long time: speaking in a Spanish User Group. And the guys of Madrid .NET gave me the chance to do it (thanks Luis!)

Læs resten

One After the Other

That is an enigmatic title to write about serialization. Well, sort of, as one of the meanings of the word refers to that concept.
But writing about successions is not my intention. My intention is to write about the technique that allows objects to be persisted to another medium different from their native memory space and more specifically on how to test serialization of objects.

Læs resten