0
Completed

为啥没有解释器模式

yaochangbo 5 months ago updated by Alexander 4 months ago 1

很奇怪为什么没有解释器模式?是因为没有用处吗?

Completed

Hi!

Thanks for your question! I excluded the Interpreter because I think it has lost its "pattern" status. The fraction of developers that deal with Interpreter scenarios is tiny. It's really hard to come up with a reasonable example for the Interpreter application as well. Here's the link I like to present when people ask me about the absence of the Interpreter in the book: http://blogs.perl.org/users/jeffrey_kegler/2013/03/the-interpreter-design-pattern.html