0
Fixed

Different method name on pseudo code of Factory method

Harvan Irsyadi hace 5 años actualizado por anonymous hace 5 años 1

Hi Author,

I love your book "Deep dive into Design Pattern".

While reading the book, i found an inconsistence of method declaration and the uses. Page 68-69. Here is the code:

"

Class Dialog is

    method renderWindow()


Class Application is

    field dialog: Dialog

    

    method initialize()

    method main() is

        dialog.initialize() (initialize() own by Application not Dialog)

        dialog.render() (should be renderWindow())

"

I know it's only pseudo code, but the reader feels uncomfortable.

Thanks.

Respuesta

Respuesta
Fixed

Thanks a lot! That's indeed a bug. I've just fixed it. The fix will be on site within an hour.

BIEN, ESTOY SATISFECHO.
Puntuación de satisfacción por Harvan Irsyadi hace 5 años
Respuesta
Fixed

Thanks a lot! That's indeed a bug. I've just fixed it. The fix will be on site within an hour.