Welcome to MSDN Blogs Sign in | Join | Help

April 2006 - Posts

I just fell in love with PowerShell (aka Monad)

Unfortunately I had not experimented with Monad before. Yesterday our blog server got swamped with new posting on PowerShell blog , a little poking around revealed that Monad has been renamed to PowerShell . I couldn't believe my eyes, I had expected

C#: Object initializers were there in 1.0 as well

Well the title is partially true. But first a quick recap of what is object initializer and why I love them . Recap In C# 3.0 (will ship with next version of Visual Studio) if you have public properties/fields in a class as follows, then you can directly
Posted by abhinaba | 3 Comments
Filed under:

C#: Object cloning is a bit confusing now

Some developers believe that object cloning (creating new object which are copies of the original) is easier in C# than in other languages like C++. However, I do not agree with this. Somewhere I had read that a good language is one that places more hardship
Posted by abhinaba | 16 Comments
Filed under:

C++: Weird looping mechanism

In the old days (sigh!!!) when I used to code in C++, I unfortunately had a friend with a knack of doing/finding weird ways of programing. One day he asked me the following question How do you write a program in C++ which does not have any looping construct
Posted by abhinaba | 12 Comments
Filed under:

Cost of correctness

I have a program that needs to print the results of a query. So I create a localizable string, use string.Format and print the results as in Your query returned 5 results. This looks good. Now a tester assigned to test this tried another query and got

Changing a Field to a Property

When you change a field to a property you need to re-build all code that used that field. Even though it might be obvious to many but it isn't to at least some people. The reason is that the client code exactly remains the same!!! In one of the internal
Posted by abhinaba | 4 Comments
Filed under:

Back from vacation

For folks missing my posts (are there any such people :) ) I am back from vacation. I was getting scorched in the hot Mumbai sun and then I was chilling out in Daman or in the Buddhist caves in the western Ghat. I was welcomed home with a long list of
Posted by abhinaba | 1 Comments
Filed under:
 
Page view tracker