Madhawa Learns To Blog : C#, Java

.net, c#, java,sql, OOAD and more mad memory dumps...

  Home  |   Contact  |   Syndication    |   Login
  47 Posts | 0 Stories | 57 Comments | 15 Trackbacks

News

Archives

Post Categories

Blog Roll

Hang Outs

My old blog

September 2006 Entries

Today evening in the coffee break I and one of my colleagues jumped into a debate over multiple inheritance vs. using interfaces. :) He was a C++ programmer at MIT (local software development firm in Sri Lanka) before joining our company and moving into C#. And he is pretty confidence about multiple inheritance. Seems he has been using multiple inheritances as he told. Anyway I’m not sure he agreed with me on favor composition over Inheritance. I found good discussion on multiple inheritance and ......

Have you ever wondered why instance methods in java are virtual by default and in C# not? In C# to make a method virtual you have to explicitly do it right? Why is that? I think better to ask from creator of the C# language. :) So this is what Anders Hejlsberg says: There are several reasons. One is performance. We can observe that as people write code in Java, they forget to mark their methods final. Therefore, those methods are virtual. Because they're virtual, they don't perform as well. There's ......

last week my project manager asked me to do training for our colleagues on Unit testing with Nunit. So I thought better to use VS 2005 with new inbuilt unit testing capabilities. I had installed VS Professional edition and I knew that Unit testing is not coming with that edition. I knew that we have VS team edition for architects also and I installed it. But after I installed it I couldn’t found built-in unit testing there. I thought this may be an installation problem or I haven’t to configure VS ......

“Yesterday it still worked and now it doesn't anymore, what did happen?" "Why does it work on this computer and not on another one?" I bet you have heard this before from your colleagues or may be you have yelled like this. :) Anyway read this nice document from Hans De Smaele and try to reduce no of times you will hear this. But I’m death sure it wouldn’t be eliminated. :) http://www.microsoft.com/be... ......

Today I did a presentation on DAO pattern (Data Access Objects) for the Sri Lanka .net community at Microsoft Sri Lanka office. This was my first public presentation even though I have done presentations for my colleagues and have trained them. Actually this was a new experience to me. I don’t happy with my presentation skills there today but I think I can improve quickly as I have always done. Anyway my friends commented me as it’s a good one but how can I trust them since they are my ......

From Martin Fowler’s article about standup meetings (It's Not Just Standing Up: Patterns for Daily Stand-up Meetings). People not directly involved can disrupt the stand-up. This suggests that another forum would still be required for queries outside the scope of the stand-up.Too many people in the meeting may cause disruption and/or cause people to be uncomfortable in sharing information. For very large stand-up groups, it is even more important to enforce Pigs and Chickens and Take it Offline ......