Category

patterns

.NET
Premium

Simplify code by using composition

In my post about software simplicity [https://www.kenneth-truyers.net/2014/02/20/simplicity-in-software-what-you-see-is-not-what-you-get/] I talked about how we introduce complexity in software without realizing it. In this post I want to discuss a pattern that allows you to get rid of the complexity introduced...

AOP
Premium

A brief comparison of fundamental AOP techniques

In my previous post “Why choose DI Interception over Aspect Oriented Programming?” [https://www.kenneth-truyers.net/2013/05/16/why-choose-di-interception-over-aspect-oriented-programming/] I explained my preference for DI interception over AOP. I received a lot of comments on this (especially on reddit) which pointed out some errors....

best practices
Premium

Javascript Namespaces and Modules

Namespaces In most programming languages we know the concept of** namespaces (or packages)**.****Namespaces allow us to group code and help us to avoid name-collisions. In c# for example you have this declaration namespace MyNameSpace { public class MyClass { } } If you want to use MyClass, you...