你的评论

Hi Lukas,

It's not really required, because there are no direct relations between both at the moment. However, I'd probably advise reading the book on patterns first because it has an introduction to OOP and UML, whereas the refactoring course expects that you know all of that.

Hi!

Unfortunately, I don't have a formal syllabus for the course. However, if you need the outline for what the course covers, please visit the Catalog page. The course explains each of the topics listed there in details.

Константин, здравствуйте!

Полагаю, эта проблема связана с неполной поддержкой спецификации EPUB этой читалкой. В книге используется много "фишек", связанных с форматирование иллюстраций, кода, переносов и прочего, которые, к сожалению, многие производители девайсов-читалок и приложений-читалок считают опциональными, и из-за этого, вылазят всяческие косяки, которые не наблюдаются на более мейнстримных читалках на iOS и Android.


В любом случае, пока что, к сожалению, могу порекомендовать читать книгу в формате PDF, там всё должно быть тип-топ.

Thanks, that's a great suggestion.

Hi Syahriga!

Thanks for asking. Let me answer your questions by simply quoting parts of the article for starters:

> Why using it just to remove comment?

Make these assumptions obvious by adding corresponding assertions. As with type hinting in method parameters, these assertions can act as live documentation for your code.

> What is your consideration on using it?

If the exception can be caused by actions of the user or system and you can handle the exception. On the other hand, ordinary unnamed and unhandled exceptions are basically equivalent to simple assertions – you don’t handle them and they’re caused exclusively as the result of a program bug that never should have occurred.

If you have a followup question, shoot it! I'd be happy to help.

Добрый день!

Книга пока ещё не издана в бумажном виде. Если вы хотите быть в курсе когда это произойдёт, то можете подписаться на нашу рассылку.

Если вам кровь из носу необходимо иметь хоть какую-то бумажную книгу о паттернах, то рекомендую купить либо классическую книгу от банды четырёх «Design Patterns: Elements of Reusable Object-Oriented Software» (издана на русском как «Приёмы объектно-ориентированного проектирования. Паттерны проектирования»), либо более казуальную «Head First Design Patterns: A Brain-Friendly Guide» (рус. «Head First. Паттерны проектирования»). Обе книги имеют свои преимущества и недостатки, так что выбирайте ту, которая вам ближе.

UserEcho 的客户支持