Freitag, 9. Oktober 2009

<The Joys of C#>

Today I tried to debug my C# code from within Visual Studio 2005 "Professional Edition" - I loaded all the necessary data into the database, massaged it for debugging, and then debugged the program for ca 30 min. While trying to expand a variable in the debug session, I got the following MDA exception:


LoaderLock was detected
Message: Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.

Yeah, great... just because of this, I had to rollback everything, restart the debugging session, just to find out that the variable expand feature worked this time... something like this never happened to me with neither Java/C/C++/Eclipse nor C/C++/gdb...

Montag, 5. Oktober 2009

<Dilbertism>

What do you say to a manager that wants a guesstimate for porting an RWA calculator from VB to C#, although he demonstrably knows that I am fluent in neither of the two programming languages?

If I were more like my hero, Tom DeMarco, I would probably say that it'll be done when it's done - but since I'm suffering from good manners, I answered that it will take approximately four weeks +/- some uncertainty regarding possible problems that could stem from language specific constructs that might have no simple representation in the target architecture...

I never thought that I would ever find myself in a dilbertesque situation like this again, but here I am... and life goes on ;-)

Perhaps I should suggest the use of the famous Planning Poker game to our development team? There is even an online site for "playing" the planning poker game: http://www.planningpoker.com ;-)