- Design Patterns and Best Practices in Java
- Kamalmeet Singh Adrian Ianculescu LUCIAN PAUL TORJE
- 100字
- 2021-06-25 20:52:37
The interpreter pattern
Computers are supposed to interpret sentences or evaluate expressions. If we have to write a sequence of code that is supposed to deal with such a requirement, first of all, we need to know the structure; we need to have an internal representation of the expression or the sentence. In many situations, the most appropriate structure to use is a composite one based on the composite pattern. We will further discuss the composite pattern in Chapter 4, Structural Patterns, for now, we can think of composite representation as grouping objects of a similar nature together.
推薦閱讀
- 計(jì)算機(jī)網(wǎng)絡(luò)
- PostgreSQL Replication(Second Edition)
- Building a Quadcopter with Arduino
- 數(shù)據(jù)結(jié)構(gòu)案例教程(C/C++版)
- 編程菜鳥(niǎo)學(xué)Python數(shù)據(jù)分析
- Mastering Git
- 基于SpringBoot實(shí)現(xiàn):Java分布式中間件開(kāi)發(fā)入門(mén)與實(shí)戰(zhàn)
- Unity&VR游戲美術(shù)設(shè)計(jì)實(shí)戰(zhàn)
- Mastering Python Design Patterns
- 創(chuàng)意UI:Photoshop玩轉(zhuǎn)APP設(shè)計(jì)
- 零基礎(chǔ)學(xué)C++(升級(jí)版)
- UML軟件建模
- Python程序設(shè)計(jì)教程
- Testing Practitioner Handbook
- Learning Spark SQL