• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

OO & Patterns

 
Ranch Hand
Posts: 867
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I do not know whether it is belong to patterns or not.
Are patterns both used in programming and design?
I have learnt several patterns in theory,
Creator, High cohesion, Low coupling, Expert and Controller.
I wonder if you can point out more patterns which is important too, and give some examples for these five patterns. thanks for your time
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Are patterns both used in programming and design?


Yes. Patterns represent solutions to recurring problems, which is about design. Furthermore, the solutions these Patterns present are often code-level meaning that the solution focuses on suggesting a structure for your code that will help alleviate whatever problems you encountered (the forces that made you consider that pattern in the first place).

I have learnt several patterns in theory,
Creator, High cohesion, Low coupling, Expert and Controller.
I wonder if you can point out more patterns which is important too, and give some examples for these five patterns.


For learning more about patterns and about more patterns, you could start by bookmarking the resources listed in DesignPatternLinks.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Lasse Koskela:
Patterns represent solutions to recurring problems, which is about design.


Well, only if you are talking about design problems, of course.
There are also other types of patterns: analysis patterns, process patterns, configuration management patterns etc. pp.
Actually, the whole pattern movement started outside of software development, but in architecture (regardings building houses)!
 
And then the entire population worshiped me like unto a god. Well, me and this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic