Consider moving to _privateField to follow the official C# style guide and reduce naming collisions
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
Question and/or Comment
Hey there recently when playing around a bit in the stride source code I noticed that Stride currently uses camelCase for private fields.
This makes it very annoying to work with parameters with the same name.
To work around this issue often parameters are suffixed or strangly named values (see CommandList as an example)
I would like to ask if it is possible to loose this restriction or move to the standard style guide of C# and use _privateField instead.
As far as I can see it there wouldn't be compatibility issues as I only suggest naming changes for private fields.
See here for reference https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/identifier-names
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue points to Stride's source code and CommandList as an example; begin by reviewing that example and the linked official C# identifier-naming guide. Determine the project-wide scope of private-field renames and whether the proposed convention is agreed on. Done means the agreed private-field naming change is applied consistently without compatibility issues.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- developer-experience
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100