[erlang-questions] "Design patterns" for functional languages?
Thu Aug 7 23:39:43 CEST 2008
On Thu, Aug 7, 2008 at 3:39 PM, Sten Kvamme <sten@REDACTED> wrote:
> On Aug 7, 2008, at 21:38 , Darren New wrote:
>> Sten Kvamme wrote:
>>> Studying patterns and re-doing
>>> other peoples solutions is downright boring.
>> Also, one of the main points for the Design Patterns book is not
>> just to
>> show you the patterns but give them names.
> Yes, good names are very important for source code understanding. And
> anti-solutions with a name could also be helpful. Think about it, Cut
> and Paste is an anti-pattern in any language not just in erlang. When
> you catch yourself cutting and pasing -- from now on you will know
> you are doing something bad ;-)
Sorry, I thought CUT and Paste was the older name for refactoring. :)
COPY and Paste, on the other hand is evil.
More information about the erlang-questions