Question over here is are design patterns specific to a programming language or technology,
Like you can do composite pattern only in C#,Java but not in VB6.0.Is that true, If yes that what are pattern that can't be implemented with out object oriented programming languages.
Design patterns are programming language independent strategies for solving a common problem. That means a design pattern represents an idea, not a particular implementation.
Design patterns are a collection of language agnostic solutions to common programming problems.
For learning design patterns, you probably want Java or C#. Those languages tend to be used by people that consider design patterns as idiomatic ways of writing the language. i.e. people consider using many design patterns in Java or C# to be the “correct” way of writing C# or Java.
Programming design patterns can be used across all programming languages and can be used to fit any project because they only give you a general outline of a solution.
Design patterns are not language specific per se, however some patterns can be paradigm specific, for example implementing a singleton pattern in C makes no sense as you might as well just write a plain old module.
However design patterns are not language specific but can be more useful or make more sense in different paradigms (OO vs structured vs functional)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With