GNUAspell / aspell

http://aspell.net
GNU Lesser General Public License v2.1
236 stars 50 forks source link

C++ Coding Convention/Standards Followed in the Project #611

Open rishitc opened 3 years ago

rishitc commented 3 years ago

Hi, I wanted to know what is the C++ coding convention/standard followed for this project.

Thanks

rishitc commented 3 years ago

Hi, I found a link that, explains the GNU coding standards, but the website seems to be more oriented towards C than C++,

kevina commented 3 years ago

Aspell doesn't follow any fixed convention and the coding style may very from file to file. If you are modifying existing code please try and follow the style locally used.

If you are unsure of something the C++ Core Guidelines (https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md) are a good place to start. The Aspell Developer’s Manual (http://aspell.net/dev-html/index.html) documents some of the non-standard conventions used.

rishitc commented 3 years ago

Thanks, I'll be mindful of the local conventions followed, while making any changes to the files.

Also, the resource you linked is quite helpful. I've referred to it a few times before as well, and it has never disappointed.