Sign in
|
English
|
Terms of Use
Dictionary
Forum
Contacts
English
⇄
Russian
Terms
for subject
Programming
containing
method attributes
|
all forms
|
exact matches only
|
in specified order only
English
Russian
attribute on the method
атрибут метода
(англ. термин взят из кн.: Groves M.D. AOP in .NET: Practical Aspect-Oriented Programming
Alex_Odeychuk
)
to
avoid name conflicts, which may cause hard-to-find bugs in large programs, it is wise to use some kind of convention that minimizes the chance of conflicts. Possible conventions include capitalizing method names, prefixing data attribute names with a small unique string, or using verbs for methods and nouns for data attributes
чтобы избежать конфликтов имен, которые в больших программах могут привести к тяжело обнаружимым ошибкам, полезно использовать своего рода соглашение, позволяющее минимизировать вероятность конфликтов. Например: называть методы именами, начинающимися с заглавной буквы, добавлять небольшую приставку в начало имен атрибутов данных
возможно просто символ подчёркивания
или использовать глаголы для методов и существительные для атрибутов данных
(см.
An Introduction to Python – The Python Tutorial
version 3.2
by Guido van Rossum and Fred L. Drake
2011
ssn
)
Data attributes override
method attributes
with the same name
Атрибуты данных записываются поверх атрибутов методов с тем же именем
(см.
An Introduction to Python – The Python Tutorial
version 3.2
by Guido van Rossum and Fred L. Drake
2011
ssn
)
method attributes
атрибуты методов
(
ssn
)
use the aspect as an attribute on the method
применить аспект с помощью атрибута метода
(англ. термин взят из кн.: Groves M.D. AOP in .NET: Practical Aspect-Oriented Programming
Alex_Odeychuk
)
Get short URL