1. We're here to help you stay connected and progress together. Read about MoocLab's response to COVID-19 ►

    Dismiss Notice

What is the difference between Pascal Case and Camel Case?

Posted in 'Learning to code' started by Quora Feeds, Dec 17, 2016.

  1. Quora Feeds

    Quora Feeds Member

    Geoffrey van Wyk

    With PascalCase, the first letter of every word in the identifier is upper case.

    With camelCase, the first letter of the first word in the identifier is lower case, while the first letter of every subsequent word is uppercase.

    See Questions On Quora

    Continue reading...
     
    AD Coursera logo Build skills for a top job in any industry. Explore hundreds of business courses on Coursera today. AD Udemy logo You can learn it too! Our top-rated courses now starting at just $11.99.
  2. sivaleela

    sivaleela New Member

    Gender:
    Female
    Location:
    Hyderabad, Telangana, India
    In camel casing, names start with a lower case but each proper word in the name is capitalized and so are acronyms. For example, commonly used tokens in many languages such as toString, checkValidity, lineHeight, timestampToLocalDateTime, etc. are all examples of camel casing.

    Pascal casing is similar to camel casing except that the first letter also starts with a capital letter (SomeClass instead of someClass).

    1. Camel Case (ex: someVar, someClass, somePackage.xyz).
    2. Pascal Case (ex: SomeVar, SomeClass, SomePackage.xyz).
     

Share This Page



  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice