Does my variable naming convention have a name?

前端 未结 5 646
猫巷女王i
猫巷女王i 2020-12-17 21:57

So I go by this Delphi naming scheme of arguments start with A, class vars start with F and local vars start with M. Does that scheme have a name? I see it a lot in the Del

5条回答
  •  伪装坚强ぢ
    2020-12-17 22:18

    Your schema can be considered some form of Hungarian notations (HN). Usually HN is used to signify the type of a variable, but as Wikipedia notes,

    The notation is sometimes extended in C++ to include the scope of a variable, separated by an underscore. This extension is often also used without the Hungarian type-specification: [..]

提交回复
热议问题