Camel case and Pascal case mistake

后端 未结 7 2068
我在风中等你
我在风中等你 2020-12-29 18:26

I constantly forget which is Camel case and which is Pascal case. So I thought that maybe a little history will help. Where do the names of these conventions come from? Is t

7条回答
  •  梦谈多话
    2020-12-29 18:58

    Pascal Case: in Pascal case every word of each letter should be capital like MossawarHussain

    Camel case: As the name show it follow the camel structure of word like mossawarHussain

    Difference:

    Pascal is a subset of Camel case. The first letter of Pascal is capital and first letter of the camel is small that is the major difference between these two cases.

提交回复
热议问题