La ronda de medianoche

La ronda de medianoche. ANÁLISIS | El ‘Watchmen’ de Damon Lindelof supone una ampliación del universo del original a través de las constantes temáticas del creador.

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Programming Case Types !Explained

No matter how well you are at Coding. Name Conventions can be pain in the A**.

In the programming world, languages use some specific pattern in naming variables, functions

Why Case Type?

we all use naming to things we define in the program from variables to functions. In Programming if you want to name a thing with more than single word then you can’t name it with added space or without space directly some times it might mislead the code reviewers/ code readers like therapists can sounds like therapists or the rapists .

Here comes the Case Type with a solution where it has different ways to name a thing which has more than one word.

Today, we will look into that Different Case Types in the Programming World

1. camelCase

Camel Case is actually inspired from animal “Camel”. Where first word will be small letters and from second word, first character will be captialized like camelCase.

Some of the big companies also inspired from this. Example like iPhone , eBay

Generally, Camel Case is used for Variable Naming

Generally, Snake Case is used for Variable Naming

3. kebab-case

Kebab Case is naming with words separated by — ( hyphen ) with all small letters

Generally, Kebab Case is used for CSS naming

Ex :- new-word, kebab-case

4. PascalCase

Pascal Case is naming with First letter of each word is Capitalized.

Generally, Pascal Case is used for Class Naming

Ex :- NewWord, PascalCase

Generally, Macro case is used for Preprocessor and constants

6. Train-Case

Train Case is naming with first character of every word of name is Capitalised and words are connected with — ( hyphen ).

Ex :- New-Word, Train-Case

Add a comment

Related posts:

The Anvil Of Mormonism

In his Politics and the English Language, George Orwell references the hammer and the anvil. His point was in 1946 that, many metaphors had been distorted over time, and the original idea had been…

Anime as Art

In This Corner of the World (Kono Sekai no Katasumi ni) is a film about a woman named Suzu living in Japan during the height of World War 2, as Japanese society slowly crumbles around her. Further…

My first ML project

I have been reading a lot about AI and machine learning lately. Big company Like Google, Facebook, and Microsoft already offering ML and AI related services.I have played around with Google Vision…