Sign in
|
English
|
Terms of Use
Dictionary
Forum
Contacts
Russian
⇄
Chinese
Czech
English
Esperanto
French
German
Japanese
Persian
Terms
for subject
Programming
containing
была обнаружена
|
all forms
|
in specified order only
Russian
English
быть обнаруженным
для связывания
be available for autowiring
(классов
Alex_Odeychuk
)
Теоретическая общность может
быть обнаружена
, когда единственными пользователями метода или класса являются контрольные примеры. Найдя такой метод или класс, удалите его и контрольный пример, его проверяющий. Если есть вспомогательный метод или класс для контрольного примера, осуществляющий разумные функции, его, конечно, надо оставить
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
)
Get short URL