Illustrated by excerpt: StaplePattern -- ThinkingOutLoud DonaldNoyes 20070130
The coup de grace comes when those enamored by the patterns movement find themselves smitten with helpers -- snippets of code who do nothing on their own and barely something when composed -- and suggest they are grand pieces of an architectural puzzle: proxy-helper-singleton-visitor; pub-sub-impl-pimple-lightweight-provider. Understand the problem better and describe better the solution. Choose better names; helpers are not helpful!
Here four staples are used to secure the "rant" two used to secure the "top or beginning" and two more to secure the "bottom or ending". Many other SymbolCharacters fit this pattern:
StaplePatternExamples {
"include"
'a'
(elaboration or extension)
[include]
/*
comments
etc.
markup{
source
Bold Text
Italic Text
}
}
Related: