Various design patterns in different languages