Talk:Interpreter pattern: Difference between revisions

Content deleted Content added
{{WikiProject Java|class=Stub|importance=low}} using AWB
Errors in diagram: new section
Line 51:
 
If we ever wanted to supply an example of this pattern in the [[Go (programming language)|Go language]] , [http://loadcode.blogspot.com/2010/01/interpreter-pattern-in-go-using.html this] may be a good starting point. [[User:Bovlb|Bovlb]] ([[User talk:Bovlb|talk]]) 20:06, 15 January 2010 (UTC)
 
== Errors in diagram ==
 
The "Interpret(Context)" methods in TerminalExpression and NonTerminalExpression are in italics, which indicates they are abstract. Clearly they are meant to be concrete implementations of the abstract method "Interpret(Context)" in AbstractExpression. The "Interpret(Context)" should have italics removed in the *subclasses*. 14:41, 15 April 2012 (UTC)