Sign in
|
English
|
Terms of Use
Dictionary
Forum
Contacts
English
⇄
Chinese
English
Esperanto
French
German
Hebrew
Japanese
Polish
Russian
Scottish Gaelic
Serbian Latin
Spanish
Ukrainian
Uzbek
Welsh
Terms
for subject
Programming
containing
noun
|
all forms
|
exact matches only
English
Russian
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
)
noun
and verb rule
"правило имён существительных и глаголов"
noun
phrase
именная группа
(символов в деревьях; "a noun phrase is the same as a noun group" (см. Collins Cobuild Advanced Learner's English Dictionary)
ssn
)
Get short URL