Common naming and features in Android

Source: Internet
Author: User

Paseal naming Law

Paseal nomenclature features: String Myname-delphi
Int Myage capitalize each word first letter

Camel Name Method

Camel (hump meaning) nomenclature features: String Myname-java
First letter lowercase, each of the other initials capitalized
It is commonly used in Java naming

Hungarian Naming Act

Hungarian nomenclature features: String STRMYNAME-VB6 uses a prefix to calibrate something that can be calibrated to its type
It is also possible to calibrate its features: int intmyname
String Smyname
HWND
This naming method is used in the old VB

Underline naming method

Underline nomenclature Features:
String S_myname
String String_m_name
Not to say which language must go to use it
Based on the research of Androd source code, the naming specification is improved.

Article Source: Wheat Academy

Original link: http://www.maiziedu.com/wiki/android/common/

Common naming and features in Android

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.