タグ

2016年5月26日のブックマーク (2件)

  • Naming Methods

    Naming MethodsMethods are perhaps the most common element of your programming interface, so you should take particular care in how you name them. This section discusses the following aspects of method naming: General RulesHere are a few general guidelines to keep in mind when naming methods: Start the name with a lowercase letter and capitalize the first letter of embedded words. Don’t use prefixe

  • 大文字の使用規則

    名前付け規則の多くが識別子の大文字と小文字の区別に関係します。 共通言語ランタイム (CLR) は、大文字と小文字を区別する言語も区別しない言語もサポートすることに注意してください。 ここに記載されている大文字の使用規則に従うと、開発者はライブラリを容易に理解して使用できるようになります。 大文字と小文字のスタイル 次の用語は、識別子の大文字と小文字を区別するさまざまな方法を表します。 Pascal 形式 識別子の最初の文字と、後に続いて連結されている各単語の最初の文字を大文字にします。 Pascal 形式は、3 文字以上から構成される識別子に対して使用できます。 次に例を示します BackColor Camel 形式 識別子の最初の文字は小文字にし、後に続いて連結されている各単語の最初の文字を大文字にします。 次に例を示します backColor [大文字] 識別子のすべての文字を大文字

    大文字の使用規則