Geeks With Blogs
Madhawa Learns To Blog : C#, Java .net, c#, java,sql, OOAD and more mad memory dumps... September 2006 Entries
Do we have to use multiple inheritance?
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 ......

Posted On Thursday, September 21, 2006 4:13 PM

Why instance methods in java are virtual by default and in C# not?
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 ......

Posted On Sunday, September 17, 2006 10:38 PM

Visual Studio Team Edition for Software Architects is not coming with inbuilt Unit Testing
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 ......

Posted On Thursday, September 14, 2006 3:35 PM

Yesterday it still worked and now it doesn't anymore, what did happen?
“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. :) ......

Posted On Thursday, September 14, 2006 3:34 AM

My presentation on DAO Pattern for Sri Lanka .Net Community
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 ......

Posted On Wednesday, September 6, 2006 8:43 PM

Enforce Pigs and Chickens and Take it Offline in Daily Stand-up meetings
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 ......

Posted On Friday, September 1, 2006 11:29 AM

Copyright © Madhawa Karunaratne | Powered by: