News for hackers. Stuff that matters.
Re:Memories of Mozilla at 15 and Thoughts on Mozilla Research by pohl on Thursday April 04, 2013 @02:53PM (#5494538)
As Peter Norvig argued, design patterns are bug reports against your programming language.

Does anybody know what the actual quote is? I love this.

Re:Memories of Mozilla at 15 and Thoughts on Mozilla Research by gabriel on Thursday April 04, 2013 @03:24PM (#5494694)
There was a link: http://www.norvig.com/design-patterns/

I think you are looking for an exact quote but the link is to slides of a talk :(

I also agree with the sentiment, but you Architecture Astronaut will no doubt disagree.

You really can't just take a design pattern and apply it blindly across languages. I spend far too much of my time on a C# application where I have to deconstruct anti-patterns and make them more amenable to change.

Re:Memories of Mozilla at 15 and Thoughts on Mozilla Research by pohl on Thursday April 04, 2013 @03:29PM (#5494720)
Yeah, I've shared that sentiment for a while now, but it was the turn of phrase that pulled me in, and I wanted to know whether to attribute it to Peter or Brendan.
Re:Memories of Mozilla at 15 and Thoughts on Mozilla Research by BrendanEich on Sunday April 07, 2013 @05:53PM (#5508928)
I turned that particular phrase based on Peter Norvig's old Harlequin-era talk.

I've also heard people say that "design patterns are feature requests", or "the kindest form of feature request", but bug or feature -- what's the difference?

/be

Re:Memories of Mozilla at 15 and Thoughts on Mozilla Research by OrsenPike on Thursday April 04, 2013 @03:14PM (#5494646)
Re:Memories of Mozilla at 15 and Thoughts on Mozilla Research by fuzzix on Friday April 05, 2013 @02:48AM (#5497110)
An aside, but I like this series of articles on design patterns in Perl, first here:

http://www.perl.com/pub/2003/06/13/design1.html

"If a pattern is really valuable, then it should be part of the core language"

Re:Memories of Mozilla at 15 and Thoughts on Mozilla Research by gabriel on Friday April 05, 2013 @10:03AM (#5498452)
You know I was also thinking in Perl yesterday when I read this and this is definitely a Perl idiom.

I really believe you get a lot better at seeing the benefits of patterns when you try to apply them in different languages and different contexts.

Are patterns something we should try to transcend in our learning? Meaning, you really do need to know them before you understand how to dismiss them in favor of something else?