This document outlines the coding standards and best practices for BaSyx Java. Adhering to these conventions will help maintain code quality, enhance readability, and ensure that our codebase is easy to maintain and scale.
- Consistency: All contributors are expected to follow the agreed-upon styles and patterns defined in this document.
- Readability and Maintainability: Write clear, understandable code that is easy to maintain and extend.
- Performance Considerations: Always consider performance implications when writing your code.
When working with BaSyx Java ind Eclipse, you should use the BaSyx Java code formatter. The formatter is available in the BaSyx_Formatting.xml
file in the docs directory of the repository. To use it, follow these steps:
- Download the
BaSyx_Formatting.xml
file. - In Eclipse, go to
Window
>Preferences
>Java
>Code Style
>Formatter
. - Click on
Import
and select theBaSyx_Formatting.xml
file. - Click
Apply and Close
.