Looking at the Android tutorials such as the Notepad tutorial, I noticed that almost all variables are named starting with the letter 'm'. What convention is this, and where does it originate from?



It stands for member. I personally find this convention unhelpful, but it's subjective.


See Android Code Style Rules: Field Names. The use of the "m" prefix is more specific that simply denoting a "member" variable.




출처 - http://stackoverflow.com/questions/4237469/why-do-variable-names-often-start-with-the-letter-m





'Android > Common' 카테고리의 다른 글

Android - HTTPS  (0) 2013.01.21
android - 자신 전화번호 확인  (0) 2013.01.21
Javascript에서 Android 함수 호출하기  (1) 2013.01.02
android - WebView 사용 하기  (1) 2012.11.03
android - app 버전 관리  (0) 2012.10.07
Posted by linuxism
,