Skip to content

Commit cf74d4a

Browse files
author
Aleksey Mavrin
committed
variable-naming: remove kebab style
1 parent 0ad45aa commit cf74d4a

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

modules/30-variables/19-naming-style/description.en.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ theory: |
77
88
Three main variable naming conventions are sometimes combined. These conventions apply to variable names consisting of several words:
99
10-
* kebab-case – a hyphen separates the parts of the name. For example, `my-super-var`
1110
* snake_case - an underscore is used as a separator. For example, `my_super_var`
1211
* CamelCase - each word in the name is capitalized. For example, `MySuperVar`
1312
* lowerCamelCase - each word is capitalized except the first. For example, `mySuperVar`

modules/30-variables/19-naming-style/description.ru.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ theory: |
77
88
В именовании переменных можно выделить три основных подхода, которые иногда комбинируют друг с другом. Все эти подходы проявляют себя, когда имя переменной состоит из нескольких слов:
99
10-
* kebab-case — составные части переменной разделяются дефисом. Например: `my-super-var`.
1110
* snake_case — для разделения используется подчеркивание. Например: `my_super_var`.
1211
* CamelCase — каждое слово в переменной пишется с заглавной буквы. Например: `MySuperVar`.
1312
* lowerCamelCase — каждое слово в переменной пишется с заглавной буквы, кроме первого. Например: `mySuperVar`.

0 commit comments

Comments
 (0)