Peter
(Moderator)
August 24, 2019, 6:18am
#1
I use a number of case styles in my apps.
Most of the time i use snake_case. But i use snakecase also without _ or CamelCase with a starting Capital.
Kebab-case is not possible in a variable because a minus character is not allowed inside a variable declaration.
STudLycAps is totally not done
What case do you use mostly?
Or are there case styles that should have made the poll?
camelCase
snake_case
StudLycAps
3 Likes
Vishwas
(Vishwas Adiga)
August 24, 2019, 6:19am
#2
UpperCamelCase for procedures and component names, and lowerCamelCase for everything else.
10 Likes
vknow360
(Sunny Gupta)
August 24, 2019, 2:43pm
#3
I want to choose more than one option.
1 Like
Peter
(Moderator)
August 24, 2019, 2:54pm
#4
That was the question of the poll.
4 Likes
Diego
(Diego Barreiro Pérez)
August 24, 2019, 3:02pm
#5
I use the one that I write first
In my PHP programs you can easily find variables in both camel and snake case
6 Likes
Sometimes even UpperCamel_snek
.
4 Likes
Oh my God what have I given birth to oh no… That belongs in r/imsorryjon.
4 Likes
A little refresh with all the currently known cases
8 Likes
Peter
(Moderator)
August 25, 2019, 6:59am
#10
Everything works in Kodular except skewer-case also known as kebab-case.
3 Likes
Vishwas
(Vishwas Adiga)
August 25, 2019, 7:48am
#11
Kodular’s CSS files use snake__on–skewer case
Some snakes on skewers (aka BEM (block__element–modifier)):
property__textbox-base__hint-label--placeholder
new-project-dialog__step--presets__scroll-panel
new-project-dialog__step--project-name__error-text
8 Likes
vknow360
(Sunny Gupta)
August 25, 2019, 11:17am
#13
Then switch to Android Studio.
Who has stopped you?
But then don’t come back to Kodular again as it is ‘thief’ according to you.
Why???
Just go.
2 Likes
Peter
(Moderator)
August 25, 2019, 11:17am
#14
User is suspended forever.
11 Likes