Investigation of CSS naming rules preferences

Source: Internet
Author: User

As early as in the blue forum, I conducted a survey on the CSS naming rules you used (single choice). The survey results are as follows (83 participants ):

  • Helloworld 2 (2.41%)
  • Hello-World 9 (10.84%)
  • Hello_world 52 (62.65%)
  • Helloworld 19 (22.89%)
  • Helloworld 1 (0, 1.20%)
  • Other 0 (0.00%)

From the results, we can see that the best use rate is the "hello_world" method, the second is the "helloworld" method, and the second is the "hello-World" method ). In other languages, the Pascal and Hungary naming rules are rarely used in CSS naming rules.

The final results of the survey do not indicate who is right or wrong, but reflect a preference. However, more people have some preferences, but they also highlight their preferences in some places. It provides a better choice for beginners.

Preference is your own. "Let others talk about your own path.", hey ......

Related Article

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.