14

In Steve Yegge's review of Design Patterns, he calls the Interpreter Pattern an "in-joke". He goes on to talk about how the perception of compilers have changed, yet how interpreted languages are still s*** on, although I can't see how this ties into the pattern.

Anyone want to enlighten this ignorant student?

Dave Schweisguth
  • 36,475
  • 10
  • 98
  • 121
Mike Douglas
  • 3,345
  • 2
  • 28
  • 30
  • 5
    Wait, the question isn't "does the interpreter pattern suck?", it's "why does Yegge think the interpreter pattern sucks?" They are two completely different questions. – Mike Douglas Feb 01 '09 at 22:00

3 Answers3

9

That was irony :) Everybody loves interpreted languages nowadays but 10 years earlier people just thought they are too slow for anything practical. Much like today most of people thinks about static vs. dynamic typing.

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
vava
  • 24,851
  • 11
  • 64
  • 79
1

The INTERPRETER pattern sucks because it's a codification of Greenspun's tenth rule:

Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp.

This was stated in 1993. A modern addendum might include C++ and Java.

Jonas Kölker
  • 7,680
  • 3
  • 44
  • 51
0

He loves it according to this: http://steve-yegge.blogspot.com/2007/12/codes-worst-enemy.html.

Shane
  • 1,207
  • 13
  • 16