Incorporation of design patterns for subjects and languages