Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: TheMachoMuchacho on October 22, 2018, 02:27:19 pm

Title: Changing Class Variable Get-function Capitalization
Post by: TheMachoMuchacho on October 22, 2018, 02:27:19 pm
Hi guys. I've got a question about default added variable capitalization for get-functions in classes. I posted the whole thing in Stack Overflow here:

https://stackoverflow.com/questions/52917679/changing-class-variable-capitalization-in-codeblocks

Thanks for your help!
Title: Re: Changing Class Variable Get-function Capitalization
Post by: BlueHazzard on October 22, 2018, 03:20:08 pm
Currently there is no option for this

(looks at obfuscated) Ok if we add one? ;)
Title: Re: Changing Class Variable Get-function Capitalization
Post by: seasoned_geek on September 24, 2023, 03:00:00 pm
Now that is is 2023 I wish to follow up because GetName() isn't a coding standard at any shop I've worked at in my 40 years of software development. Method names aren't ProperCase they are camelCase in every shop and API. Was this added in a non-obvious way?
Title: Re: Changing Class Variable Get-function Capitalization
Post by: sodev on September 25, 2023, 03:37:55 pm
Looks like you have never written a wxWidgets application... or used the C++ standard library.
Title: Re: Changing Class Variable Get-function Capitalization
Post by: Commaster on September 25, 2023, 04:58:48 pm
Just as an example, one well-known project written in C++ (https://github.com/llvm/llvm-project) uses ProperCase...