Russian | English |
писаться с большой буквы | have an initial uppercase letter (ssn) |
Тип атрибута пишется с большой буквы, например Boolean, Integer или Real | the type of the attribute has an initial uppercase letter – for example, Boolean, Integer, or Real (см. Software Modeling and Design by Hassan Gomaa 2011) |
Тип атрибута пишется с большой буквы, например Boolean, Integer или Real | the type of the attribute has an initial uppercase letter for example, Boolean, Integer, or Real (см. Software Modeling and Design by Hassan Gomaa 2011) |
чтобы избежать конфликтов имен, которые в больших программах могут привести к тяжело обнаружимым ошибкам, полезно использовать своего рода соглашение, позволяющее минимизировать вероятность конфликтов. Например: называть методы именами, начинающимися с заглавной буквы, добавлять небольшую приставку в начало имен атрибутов данных возможно просто символ подчёркивания или использовать глаголы для методов и существительные для атрибутов данных | 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) |