Tus comentarios

Отличная тема для холивара!


Лично я считаю, что если что-то избавляет вас от боли, то берите и используйте это. Не надо оглядываться на кого-то. Если в итоге вы упрётесь в какое-то ограничение или неудобство, которое было неочевидно ранее, вы практически всегда можете отрефакторить всё обратно, хоть и потратив большие усилия.

Я действительно призываю использовать одиночки поменьше, но адресую это скорее новичкам, т.к. сперва одиночка кажется удивительно удобной штукой без каких-либо минусов.

Hi Sylwester!

Yes, it's most likely happen in the future.

Спасибо за хорошую идею, добавил в планы.

Здравствуйте, Владислав!

Диаграммы сделаны на основе UML 2.0. Небольшая вводная глава об UML есть в книге о паттернах, но вы можете найти довольно много информации об UML в сети (ищите по ключевикам "UML class diagram").

Hi!

I assume that you meant the "Dive Into Design Patterns". If so, there are no major editions planned soon and even if they were, you'd get the free upgrades anyway. Note that the book is only available as an ebook, therefore you're not locking yourself out of the updates.

Thanks! It's unlikely that I'll teach on Youtube, though, I don't look good on video :D

Hi! Sorry for the lack of updates guys! It's really close, but I have to finish several pressing matters before I can finally start with this subproject. Hopefully, I'll start interviewing candidates for the translation team before NY.

Hi Ofir!

IntelliJ IDEA implements only a subset of known refactorings, which is why refactorings like Preserve Whole Object aren't there. Some refactorings are too complex or have too many moving pieces to be automated by the IDE. You always have to be cautious of side effects, especially if your code uses reflection or dependency injection configured in external files.

Hi Valeria!

The Interpreter is probably the least used and most complicated of all the GoF patterns. That was the reason why I didn't bother to include it in the book. Here's the link I like to present when people ask me about the absence of the Interpreter in the book: http://blogs.perl.org/users/jeffrey_kegler/2013/03/the-interpreter-design-pattern.html