Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more modern coding style #196

Merged
merged 2 commits into from
Oct 18, 2024
Merged

more modern coding style #196

merged 2 commits into from
Oct 18, 2024

Conversation

FreeAndNil
Copy link
Contributor

@FreeAndNil FreeAndNil commented Oct 17, 2024

  • convert to filescoped namespaces
  • use collection expressions
  • switched to prefix _ for private fields

- use collection expressions
- removed prefix m_ from private fields
@FreeAndNil FreeAndNil requested a review from fluffynuts October 17, 2024 06:50
@FreeAndNil FreeAndNil added this to the 3.0.2 milestone Oct 17, 2024
Copy link
Contributor

@fluffynuts fluffynuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the one comment now - I support removing the C-style m prefix, but I'd like to retain the C#-style _ prefix for private fields, if for no other reason than it makes it much easier to determine, at a glance, the difference between a local var and an instance field. Thoughts?

@FreeAndNil
Copy link
Contributor Author

Alright. You convinced me.
Would you like me to change it in this PR or in another one?

@fluffynuts
Copy link
Contributor

Alright. You convinced me. Would you like me to change it in this PR or in another one?

I don't mind - wherever is most convenient (:

@FreeAndNil FreeAndNil changed the title convert to filescoped namespaces more modern coding style Oct 17, 2024
@FreeAndNil FreeAndNil force-pushed the Feature/FilescopedNamespaces branch 2 times, most recently from f0083f7 to 8284d7b Compare October 17, 2024 20:40
@FreeAndNil FreeAndNil requested a review from fluffynuts October 17, 2024 20:41
@FreeAndNil
Copy link
Contributor Author

@fluffynuts I've adjusted the names with the help of the refactoring in rider and added the missing entries in .editorconfig.

@FreeAndNil FreeAndNil merged commit ab16a6e into master Oct 18, 2024
@FreeAndNil FreeAndNil deleted the Feature/FilescopedNamespaces branch October 18, 2024 06:38
FreeAndNil added a commit that referenced this pull request Oct 24, 2024
FreeAndNil pushed a commit that referenced this pull request Dec 19, 2024
Co-authored-by: Oleh Titomyr <globallogic_otitomyr@nice.com>
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