Skip to main content

Home/ OCG developers/ Group items tagged design

Rss Feed Group items tagged

remonkoopmans

Know Thy .NET Dictionaries - CodeProject - 0 views

  •  
    This article takes a closer than normal look at everyone's favourite data structure - the .NET dictionary. There are quite a lot of different dictionaries classes in .NET these days, so I'm going to explore how they work, what their differences are and where to use them.
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.
remonkoopmans

Performance and the Entity Framework - CodeProject - 0 views

  •  
    If you are using the Entity Framework (EF), then you need to understand the best practices for improving its performance, or you will suffer the consequences!
remonkoopmans

Which is faster? - 1 views

  •  
    Which is faster, QueryLightBulbFrobStatusEx() or __WGetBulbFrobberState2()? Hold it right there, buddy. Before answering that question I must give you my standard six-part rant about why I probably cannot sensibly answer questions that begin "which is faster".
Steven van Dijk

Service locator is not an anti pattern. « jgauffin's coding den - 0 views

  •  
    "I'm getting really tired of all blog posts that states that service locator is an anti pattern. It's not."
Steven van Dijk

ploeh blog - Service Locator is an Anti-Pattern - 0 views

  •  
    "Service Locator is a well-known pattern, and since it was described by Martin Fowler, it must be good, right? No, it's actually an anti-pattern and should be avoided."
Steven van Dijk

IoC container solves a problem you might not have but it's a nice problem to have - 0 views

  •  
    "[..] what about inversion of control containers? There's a lot of confusion around what they do, and why you should use one at all. Every now and then I meet a developer, who says they read all the definitions, introductions and basic examples, and they still don't get why would they use a container."
Tristan Hands

The SOLID Principles :: BlackWasp Software Development - 1 views

  •  
    A series of six articles desribing each of the five SOLID principles used for dependency management in object-oriented design and programming. When followed, these principles can enhance the maintainability of software.
  •  
    Perhaps interesting after today's meeting...
Steven van Dijk

Validate User Input, Not Developer Input - 0 views

  •  
    I have a very simple rule, I like to follow that helps to simplify my code. "Don't validate developer input" This rule simply means that we should not try and validate input that came from a source that is not a user or external system.
Steven van Dijk

Types of Duplication in Code - 0 views

  •  
    I've found that there are three basic types of duplication that we can eliminate from our code that successfully build on each other.
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.
Steven van Dijk

Favor Composition Over Inheritance - 0 views

  •  
    "Making code reusable through public class inheritance (PCI) is so convenient and easy that to say it should be avoided may sound a bit heretical. After all, isn't this what OOP is about? And yet that's the position I hold."
‹ Previous 21 - 40 of 42 Next ›
Showing 20 items per page