Skip to content

fix: replace camelCase with PascalCase#134

Merged
fey merged 1 commit intohexlet-basics:mainfrom
under-tension:fix/naming-style
Mar 16, 2026
Merged

fix: replace camelCase with PascalCase#134
fey merged 1 commit intohexlet-basics:mainfrom
under-tension:fix/naming-style

Conversation

@under-tension
Copy link
Contributor

camelCase is incorrectly described in the lesson text, and PascalCase should be used instead.

@fey
Copy link
Contributor

fey commented Mar 16, 2026

@under-tension привет.

Можете подсказать, на какие ресурсы опирались? ФОрмально CamelCase и PascalCase - одно и то же. В текущей версии теории конкретно указывается, что есть lowerCamelCase для к примеру переменных

@under-tension
Copy link
Contributor Author

Привет. PascalCase можно рассматривать как синоним к UpperCamelCase, но я на практике чаще встречал упоминание СamelCase именно в смысле lowerCamelCase, вот примеры:

  1. Документация к c# от microsoft https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/identifier-names

  2. В style guide от google упоминается именно PascalCase https://google.github.io/styleguide/cppguide.html#Function_Names

Внес правки, теперь есть упоминание PascalCase и lowerCamelCase

camelCase is incorrectly described in the lesson text, and PascalCase should be used instead.
@fey fey merged commit 46b6931 into hexlet-basics:main Mar 16, 2026
@under-tension under-tension deleted the fix/naming-style branch March 16, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants