Sign in
|
English
|
Terms of Use
Dictionary
Forum
Contacts
Russian
⇄
English
Terms
containing
атрибут метода
|
all forms
|
in specified order only
Subject
Russian
English
progr.
атрибут метода
attribute on the method
(англ. термин взят из кн.: Groves M.D. AOP in .NET: Practical Aspect-Oriented Programming
Alex_Odeychuk
)
progr.
Атрибуты данных записываются поверх
атрибутов методов
с тем же именем
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
)
progr.
атрибуты методов
method attributes
(
ssn
)
progr.
применить аспект с помощью
атрибута метода
use the aspect as an attribute on the method
(англ. термин взят из кн.: Groves M.D. AOP in .NET: Practical Aspect-Oriented Programming
Alex_Odeychuk
)
progr.
свойства атрибутов и методов
properties for attributes and methods
(
ssn
)
progr.
чтобы избежать конфликтов имен, которые в больших программах могут привести к тяжело обнаружимым ошибкам, полезно использовать своего рода соглашение, позволяющее минимизировать вероятность конфликтов. Например: называть методы именами, начинающимися с заглавной буквы, добавлять небольшую приставку в начало имен атрибутов данных
возможно просто символ подчёркивания
или использовать глаголы для методов и существительные для атрибутов данных
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
)
Get short URL