技術英語 > the modifier > put [the modifier] at the end of the name
501 ワード
引用:Code Complete > Computed-Value Qualifiers in Variable Names
put the modifier at the end of the name
the modifierとしてはTotal, Sum, Averageなど
revenueTotalとtotalRevenue
revenueSumとsumRevenue
などmodifierを後ろと前どちらにつけるのがいいか?
Code Completeでは後ろにつけることでsymmetricになるようなことが書かれていた。
a set of names like revenueTotal, expenseTotal, revenueAverage, and expenseAverage has a pleasing symmetry.
Author And Source
この問題について(技術英語 > the modifier > put [the modifier] at the end of the name), 我々は、より多くの情報をここで見つけました https://qiita.com/7of9/items/c0efb8a876cb860dd0fe著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .