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?
Cerca tra vari insegnanti di Inglese...
Risposte · 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.
Non hai ancora trovato le tue risposte?
Scrivi le tue domande e lascia che i madrelingua ti aiutino!
Non perdere l'opportunità di imparare una lingua comodamente da casa tua. Esplora la nostra selezione di insegnanti di lingue esperti e iscriviti subito alla tua prima lezione!
Inizia a imparare oggi
