Reputation: 23798
Many programming languages embed design patterns right into the language. I'm looking for the most obvious examples, like Python decorators (Decorator?) or C# events (Observer). Can you give me some more?
Upvotes: 0
Views: 74
Reputation: 38625
I've also beein intrigued by this very question and even asked a similar quesiton once: Design pattern as (missing) language feature
Sure, there are some more patterns that simply vanish in other languages.
object
keyword.Most information about this topic is annectodical. You can check the links in my question. That would be nice to have a more complete coverage of this topic, sadly I've never found one.
Upvotes: 1