0
已完成

为啥没有解释器模式

yaochangbo il y a 2 mois mis à jour par Alexander il y a 2 mois 1

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

已完成

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