Menu

code guidelines

Chris

Code Guidelines

Variables must be prefixed by an _underscore and all lowercase. This is done to speed up identification of variables with Visual Studio IntelliSense. Additionally, if there are multiple words in a variable name please use underscores between them. ex. _my_variable, _room_count

Class names must always be capitalized. If there are multiple words in a class name please use an underscore between them. ex. My_Class_Name, Survey_Response

Methods must be lower case and have underscores between words. ex. obj.test(), obj.get_data()

Descriptive and reasonable names should be used throughout. Bear in mind that you need to submit a proposed addition or change in UML before you can submit code. We want to ensure that other developers will be able to quickly pick up on your idea. Clarity and brevity in your descriptions is appreciated.


Related

Wiki: Getting Started

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.