OOP - Justin Lovell's Blog
in

dotnet.org.za

South African .NET Developer Portal

This Blog

Syndication

News

Search My Blog

<input class="BlogSearch" type="text" name="searchBox" id="blogSearchText" value="" onkeypress="return blogSearch(event, this);"> <input type="button" value="Search" onclick="return blogSearch2('blogSearchText');" class="BlogSearchButton">
Powered by Google

Justin Lovell's Blog

The Grumpy Coder

Browse by Tags

All Tags » OOP (RSS)
Sorry, but there are no more tags available to filter with.
  • Yet another comment about Interfaces vs. Classes

    Mike left a comment last week on one of my blog entries about my ravings of interfaces and classes. First off, yes, you are quite right that explicit declaration of interfaces has its advantages in terms of breaking and bending the rules of polymorphism. It is one thing that I’ve been waiting for someone to mention. In terms of categorizing a class by saying Person class implements the two interfaces of IPersonDetails and IPersonAddress might sound quite brilliant. But I would like to argue...
    Posted Jun 13 2005, 09:07 PM by justin with | with 7 comment(s)
    Filed under:
  • Martin Fowler on about Evolutionary Design

    I started googling around to see what links I can put in reference to my previous blog post about the part of refactoring. And it seems that my perception is somewhat similar to Martin Fowler’s . I quote… Martin Fowler: Part of the justification of YAGNI is that many of these potential needs end up not being needed, or at least not in the way you'd expect. The effort you'll save by not doing any of them is less than the effort required to refactor into the ones you do actually need. And...
    Posted May 01 2005, 07:23 PM by justin with | with 2 comment(s)
    Filed under:
  • Part 3: Interfaces are not worth the classes that they are written on

    Scott Dukes has blogged a response to my two (going onto three) blog posts that interfaces are not worth the classes they are written on. In this third one, I will be responding with a practical example (in other words: physical code) and also add a twist to the end of this blog post. I must say that I’m in agreement with most part of Scott’s content. Besides some major commentary which I’ll place in this blog post and the minor ones on Scott’s feedback , there is only one...
    Posted May 01 2005, 02:19 PM by justin with | with 7 comment(s)
    Filed under:
  • Interfaces not worth the classes they are written on - the application

    Thanks Brian for the comments in my previous post . I thought of just putting this as yet another comment but thought that maybe it would be more useful to be seen in a more “public” RSS feed and also, this is one heck of a long response. Brian Wilson: You are probably aware of the Sort method for the Array class. It sorts data in a single dimension array. Remember that arrays can be of any type: integers, strings, Animals, BankAccounts, etc. The Sort method does not care about the data...
    Posted Apr 30 2005, 11:22 PM by justin with | with no comments
    Filed under:
  • Part 2: Interfaces are not worth the classes they are written on

    Wow! In my last blog post about interfaces and base classes, I got quite a bit of comments which I think my primary point has been overlooked. I’m just going to repeat myself to ensure my intentions are made clear: I’m not against the idea of interfaces. I’m just against the idea of making the contract of the “workable” class in every single factory, strategy and so forth patterns as an interface. Maybe I should stop everyone and stop treating everything literally in...
    Posted Apr 25 2005, 07:58 PM by justin with | with 9 comment(s)
    Filed under:
  • Interfaces are not worth the classes that they are written on

    How about that for a catchy blog title? Anyway, this blog post is in response to a little blog post by Brian Wilson. I’m in protest that Dr. Phil is not always right. And I sort of gave the bomb shell in the commentary and found myself being attacked like “What is wrong with you? Interfaces have been my friend.” My take is that the overuse of interfaces is a very common mistake that most developers make. These developers normally go on a rampage when they found that they can extract...
    Posted Apr 20 2005, 12:51 AM by justin with | with 14 comment(s)
    Filed under:
Powered by Community Server (Commercial Edition), by Telligent Systems