DictionaryForumContacts

   Russian
Terms for subject Programming containing он мог | all forms | exact matches only | in specified order only
RussianEnglish
когда имеющий состояние объект узнаёт о внешнем событии, его состояние может изменитьсяwhen a stateful object becomes aware of an external event, its state may change (ssn)
компонент: логическая совокупность классов, взаимодействующих вместе для обеспечения набора услуг сервисов, предлагаемых через предоставленные интерфейсы компонента. Услуги сервисы, требуемые компонентом, запрашиваются с помощью его требуемых интерфейсов. Кроме того, компонент может состоять из других компонентов и быть вложенным в другой компонентcomponent: A logical collection of classes that collaborate to provide a set of services offered through the component's provided interfaces. The services required by the component are requested through its required interfaces. A component may also consist of other components and may be nested to whatever level required (см. Object-Oriented Analysis and Design with Applications 3rd Edition by Grady Booch ssn)
можно сказать, что практика управляемой тестированием разработки раздел 12.2 является частичной заменой рефакторинга. Действительно, управляемая тестированием разработка использует разновидность рефакторинга – разновидность, которая применяется для улучшения скорее самого проекта, а не кода. Управляемая тестированием разработка – итеративный и пошаговый процесс, объединённый с написанием прикладного кода. Рефакторинг может предугадать "дурно пахнущий код" и устранить его до того, как это случитсяit can be argued that the practice of test-driven development Section 12.2 is a partial substitution for refactoring. In reality, test-driven development uses a variation of refactoring – a variation that applies to cleaning up the design rather than the code. Test-driven development is an iterative and incremental process intermixed with writing the application code. Refactoring can anticipate "bad smells in code" and eliminate them before they happen (см. Maciaszek L.A. and Liong B.L. 2005: Practical Software Engineering)
Например, данная обязательная принадлежность может дополнительно означать, что принадлежность является фиксированной, т.е. если объект связан с целевым объектом в ассоциации, он не может быть повторно связан с другим целевым объектом в той же ассоциацииfor example, a particular mandatory membership may additionally imply that the membership is fixed, i.e. once an object is linked to a target object in the association it cannot be reconnected to another target object in the same association (см. Maciaszek, L.A.: Requirements Analysis and System Design, 3rd ed. 2007)
относительное время для повторной загрузки таймера, чтобы он мог сработать сноваrelative value to reload the timer with so that it can trigger again (ssn)
Пакет может импортировать другие пакеты. это означает, что пакет A или элемент пакета A может обратиться к пакету B или к его элементам. Следовательно, класс принадлежит только одному пакету, но он может быть импортирован в другие пакеты. Импорт представляет зависимость между пакетами и их элементамиA package may have package imports to other packages. This means that package A or element of package A can refer to package B or to its elements. Consequently, a class is owned by only one package but it can be imported to other packages. Imports introduce dependencies between packages and their elements (см. Maciaszek L.A. and Liong B.L. 2005: Practical Software Engineering)
после срабатывания таймера значение величины it_interval задаёт относительное время для повторной загрузки таймера, чтобы он мог сработать сноваonce the timer fires, the it_interval value specifies a relative value to reload the timer with so that it can trigger again (см. "Getting Started with QNX Neutrino. A Guide for Realtime Programmers" by Rob Krten 2009)
при высвобождении большого участка памяти часть его может быть выделена в ответ на текущий запрос, при этом остаток может оказаться слишком малым для удовлетворения любых последующих запросовwhen a large amount of memory is released, part of it may be used to meet a subsequent request, leaving an unused part that is too small to meet any further requests
при инициализации после сброса процессор переводится в реальный режим, хотя всего одной командой он может быть переведён в защищённый режимReset initialization places the processor in real mode where, with a single instruction, it can switch to protected mode
Рефакторинг очень хорошо сочетается с быстрой разработкой Мартин, 2003. Он может проводиться в любом месте итерации, но наиболее эффективно выполнять его либо в конце текущей итерации, либо в начале следующей. Рефакторинг может существенно улучшить внутреннюю структуру кода без изменения его внешнего поведенияRefactoring integrates very well with the agile development Martin, 2003. It can be conducted at any point during iteration, but it is most effective towards the end of the current iteration or at the beginning of the next iteration. Refactoring can significantly improve the internal structure of the code without changing its external behavior (см. Maciaszek L.A. and Liong B.L. 2005: Practical Software Engineering ssn)
так в чём проблема? Только в том, что с рефакторингом связан известный риск. Он требует внести изменения в работающий код, что может привести к появлению трудно находимых ошибок в программеSo, what's the problem? Simply this: Refactoring is risky. It requires changes to working code that can introduce subtle bugs (см. Refactoring: Improving the Design of Existing Code by Martin Fowler et al. 1999)
Теоретическая общность может быть обнаружена, когда единственными пользователями метода или класса являются контрольные примеры. Найдя такой метод или класс, удалите его и контрольный пример, его проверяющий. Если есть вспомогательный метод или класс для контрольного примера, осуществляющий разумные функции, его, конечно, надо оставитьSpeculative generality can be spotted when the only users of a method or class are test cases. If you find such a method or class, delete it and the test case that exercises it. If you have a method or class that is a helper for a test case that exercises legitimate functionality, you have to leave it in, of course (см. Refactoring: Improving the Design of Existing Code by Martin Fowler et al. 1999 ssn)