Is the phrase 'it decorate' correct here?
While reading the book 'Head First Design Patterns', I came across this sentence on page 91:
The ConcreteDecorator has an instance variable for the thing it decorate (the Component the Decorator wraps).
Is there a typo, or is the phrase 'it decorate' (instead of 'it decorates') grammatically correct here?
寻找适合你的 英语 教师…
回答 · 5
2
It's definitely a typo. The writer meant to write:
The ConcreteDecorator has an instance variable for the thing it decorates.
1
I agree - it's a typo and should read "it decorates". There are certain conditions for using subjunctive (it decorate), and this isn't one of them.
还未找到你的答案吗?
把你的问题写下来,让母语人士来帮助你!
Don’t miss out on the opportunity to learn a language from the comfort of your own home. Browse our selection of experienced language tutors and enroll in your first lesson now!
Start Learning Today
