Open Sebastiaan127001 opened 6 months ago
@fniessink hierbij:
Beyond PEP-8, there are several other coding standards and style guides for different programming languages and contexts. Here are a few notable examples:
Google Style Guides: Google has published style guides for various languages, including C++, Java, Python, Go, JavaScript, and others. These are used internally at Google but are publicly available and widely respected in the industry.
Airbnb JavaScript Style Guide: A very popular style guide for writing consistent JavaScript code. It covers naming conventions, best practices, and patterns to follow.
Microsoft's C# Coding Conventions: Part of Microsoft's documentation, these conventions cover the coding styles for C# programming, including naming conventions, layout conventions, and commenting conventions.
Oracle's Java Code Conventions: Though somewhat dated, Oracle's Java code conventions were long considered the standard for Java coding practices, covering file organization, indentation, comments, declarations, and more.
The Rust Programming Language Style Guide: The Rust community follows an official style guide (fmt) for formatting Rust code, which helps in maintaining consistency and readability across Rust codebases.
Kotlin Coding Conventions: Published by JetBrains, the company behind Kotlin, these conventions cover the coding practices recommended for Kotlin programming, including naming, formatting, and structuring code.
PSR-1 and PSR-2 for PHP: The PHP-FIG (Framework Interop Group) has published several PHP Standard Recommendations (PSRs), among which PSR-1 (Basic Coding Standard) and PSR-2 (Coding Style Guide) are focused on coding standards and styles for PHP.
PEP-257 for Python Docstrings: While PEP-8 focuses on the code style, PEP-257 provides conventions for writing good Python docstrings, which are essential for documentation.
Apart issue van gemaakt: