Skip to main content

Home/ OCG developers/ Group items tagged interface

Rss Feed Group items tagged

Steven van Dijk

Abstractions, Patterns, and Interfaces - 0 views

  •  
    "Interfaces are wonderful for a language like C#. Interfaces give us everything we need to work with an object in a strongly-typed manner, but place the least number of constraints on the object implementing the interface. Interfaces make the C# compiler happy without forcing us to pay an inheritance tax for working with a class hierarchy. We'll define an interface that describes exactly how we want to fetch customers and how we want the customers packaged for us to consume."
Steven van Dijk

Keep Public Interfaces away from Children | Passion for Coding - 0 views

  •  
    It is natural to think of the public methods and properties of a class as the public interface of the class. When implementing a class that is meant to be derived there is also another interface - the one meant for child classes. A clear separation of the two interfaces makes the code cleaner. The one construct to avoid is public virtual methods.
remonkoopmans

User Interface Patterns - CodeProject - 0 views

  •  
    Here's a short overview of four major user interface patterns in their original form, put together and illustrated. A bit of information is added to patterns (with notes to highlight these additions) to show a slightly different viewpoint and different ideas.
Steven van Dijk

Owning Your Dependencies | 8th Light - 0 views

  •  
    "Dependencies are nearly unavoidable for non-trivial software projects. These can be large dependencies, such as web frameworks and databases, or smaller decisions, such as pagination helpers or simple math libraries. The inevitable inclusion of these dependencies, however, is not an excuse to shape the solutions of your system around what you do not own. Instead, there ought to be an emphasis on finding the right fit and then owning the way dependencies interface with your system."
Steven van Dijk

Your Objects, the Unix Way - 0 views

  •  
    "Let's look at this implementation through the lens of the Rule of Modularity. The above code fails the "simple parts, clean interfaces" sniff test."
Steven van Dijk

Time Traveling To The Future Of User Interfaces - 0 views

  •  
    "The good news is there are many entrepreneurs and inventors that agree with me and they are currently building new and better ways for us to interact with computers."
Steven van Dijk

That's Not Yours | 8th Light - 0 views

  •  
    "The book Growing Object Oriented Software, Guided by Tests states that you should never mock interfaces that you don't own. When I read that it caught me off guard. After all faking third party libraries that talk to databases or the network is the primary use case of a mock object right?"
Steven van Dijk

10 things I hate about Git - 0 views

  •  
    Git is the source code version control system that is rapidly becoming the standard for open source projects. It has a powerful distributed model which allows advanced users to do tricky things with branches, and rewriting history. What a pity that it's so hard to learn, has such an unpleasant command line interface, and treats its users with such utter contempt.
1 - 9 of 9
Showing 20 items per page