codeff

Stories submitted by codeff

Singleton Pattern – There Can Only Be One(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 9 months ago

A short description of the singleton pattern with an example in C#. read more...

add a comment |category: |Views: 9

tags: another

Facade Pattern – If You Have Something To Hide(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 9 months ago

A short description of the facade pattern with an example in C#. read more...

add a comment |category: |Views: 21

tags: another

Unit Testing and NHibernate – Quick Start(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 9 months ago

A quick start solution for nhibernate and inmemory unit tests. read more...

add a comment |category: |Views: 31

tags: another

Useful Extension Methods(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 9 months ago

Some useful extension methods for Action, Action<T> Func<TResult>, IDataRecord and DataRow read more...

1 comment |category: |Views: 20

tags: another

Is applying good practices always good?(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 9 months ago

Today a new trainee was assigned to me. He just completed his in-firm training in another company and applied for a job. In order to find out what he knows, I thought it would be a good idea to go through the code of some tools. We began with a tool that prints invoices. It has two [...] read more...

add a comment |category: |Views: 14

tags: another

Database Myths: Stored Procedures vs. Ad Hoc Queries(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 9 months ago

A post about common myths sorrounding stored procedures and ad hoc queries in MS SQL Server 2005/8 read more...

1 comment |category: |Views: 26

tags: another

Maintainable but not Learnable?(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 9 months ago

Although learning a code base is required to effectively maintain it, learning and maintaining it are two different things that should be looked at independently. The learning cost is a one time cost, fixing a bug or adding a feature isn’t. read more...

add a comment |category: |Views: 4

tags: another

Dependency Injection with StructureMap(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 9 months ago

A little introduction into Dependency Injection and StructureMap read more...

add a comment |category: |Views: 16

tags: another

SOLID – D: Dependency Inversion Principle(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 9 months ago

This post is about the Dependency Inversion Principle. The Dependency Inversion Principle is part of SOLID, five important design principles. read more...

add a comment |category: |Views: 29

tags: another

Error Messages – Dos and Dont’s(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 10 months ago

A short post about error message dos and don’ts. read more...

add a comment |category: |Views: 6

tags: another

SOLID – I: Interface Segregation Principle(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 10 months ago

This post is about the Interface Segregation Principle. The Interface Segregation Principle is part of SOLID, five important design principles. read more...

add a comment |category: |Views: 24

tags: another

SOLID – L: Liskov Substitution Principle(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 10 months ago

This post is about the Liskov Substitution Principle. The Liskov Substitution Principle is part of SOLID, five important design principles. read more...

add a comment |category: |Views: 31

tags: another

SOLID – O: Open Closed Principle(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 10 months ago

This post is about the Open Closed Principle. The Open Closed Principle is part of SOLID, five important design principles. read more...

add a comment |category: |Views: 23

tags: another

SOLID – S: Single Responsibility Principle(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 10 months ago

This post is about the Single Responsibility Principle. The Single Responsibility Principle is part of SOLID, five important design principles. read more...

add a comment |category: |Views: 56

tags: another

Three Tiers - Why do it the Easy Way if you can do it more Complicated(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 10 months ago

As many projects, this one just wanted to implement three tiers, with the data and the business layer having their own data containers. Although they are equal by content, they are different classes. read more...

add a comment |category: |Views: 17

tags: another

Refactoring Series – Part 5 – Some Real World Refactoring(codingefficiency.com)

submitted by codeffcodeff(155) 2 years, 10 months ago

In part five of my refactoring series I made some real world refactoring. I refactored the database schema update of the open source project “Personal Task Manager” which is available at SourceForge. read more...

add a comment |category: |Views: 8

tags: another