0
Fixed

Different method name on pseudo code of Factory method

Harvan Irsyadi il y a 5 ans mis à jour par anonymous il y a 5 ans 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.

Solution

Solution
Fixed

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

JE SUIS SATISFAIT
Note de satisfaction par Harvan Irsyadi il y a 5 ans
Solution
Fixed

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