All Projects → PoshCode → Powershellpracticeandstyle

PoshCode / Powershellpracticeandstyle

Licence: other
The Unofficial PowerShell Best Practices and Style Guide

Projects that are alternatives of or similar to Powershellpracticeandstyle

devon4flutter-non-bloc-arch
A guide aiming to bridge the gap between the absolute Flutter basics and clean, structured Flutter Development
Stars: ✭ 283 (-82.19%)
Mutual labels:  best-practices, conventions
Ios Handbook
Guidelines and best practices for excellent iOS apps
Stars: ✭ 337 (-78.79%)
Mutual labels:  best-practices, style-guide
CSharpHandbook
The focus of this document is on providing a reference for writing C#. It includes naming, structural and formatting conventions as well as best practices for writing clean, safe and maintainable code. Many of the best practices and conventions apply equally well to other languages.
Stars: ✭ 25 (-98.43%)
Mutual labels:  best-practices, conventions
Nodebestpractices
✅ The Node.js best practices list (December 2021)
Stars: ✭ 72,734 (+4477.34%)
Mutual labels:  best-practices, style-guide
Pep8 Style Guide For Python Code
Python 代码风格指南 & 编程规范
Stars: ✭ 49 (-96.92%)
Mutual labels:  conventions, style-guide
Php Conventions
Рекомендации по написанию PHP кода
Stars: ✭ 156 (-90.18%)
Mutual labels:  conventions, best-practices
Riotjs Style Guide
Opinionated RiotJS Style Guide for teams.
Stars: ✭ 288 (-81.88%)
Mutual labels:  best-practices, style-guide
elixir inconsistencies
List of inconsistencies found throughout the Elixir programming language
Stars: ✭ 23 (-98.55%)
Mutual labels:  style-guide, conventions
Ros best practices
Best practices, conventions, and tricks for ROS. Do you want to become a robotics master? Then consider graduating or working at the Robotics Systems Lab at ETH in Zürich!
Stars: ✭ 799 (-49.72%)
Mutual labels:  conventions, best-practices
Rspec Style Guide
Best practices for writing your specs!
Stars: ✭ 735 (-53.74%)
Mutual labels:  best-practices, style-guide
Write Readable Javascript Code
📖 All about writing maintainable JavaScript
Stars: ✭ 244 (-84.64%)
Mutual labels:  best-practices, style-guide
Git Style Guide
A git style guide.
Stars: ✭ 86 (-94.59%)
Mutual labels:  best-practices, style-guide
Guidelines.spatie.be
The guidelines used at our company
Stars: ✭ 169 (-89.36%)
Mutual labels:  best-practices, style-guide
Devonfw4flutter
A guide aiming to bridge the gap between the absolute Flutter basics and clean, structured Flutter Development
Stars: ✭ 219 (-86.22%)
Mutual labels:  conventions, best-practices
Guide
🍄 指北,A front end style guide.
Stars: ✭ 727 (-54.25%)
Mutual labels:  best-practices, style-guide
Guide
The Uber Go Style Guide.
Stars: ✭ 10,140 (+538.14%)
Mutual labels:  best-practices, style-guide
Spring Boot Style Guide
An opinionated guide on developing web applications with Spring Boot.
Stars: ✭ 88 (-94.46%)
Mutual labels:  best-practices, style-guide
Html Sketchapp Style Guide
Brainly style guide ➡ Sketch
Stars: ✭ 97 (-93.9%)
Mutual labels:  style-guide
Vulkan Samples
One stop solution for all Vulkan samples
Stars: ✭ 2,009 (+26.43%)
Mutual labels:  best-practices
Code Standards
Isobar Front-end development coding standards. Memorize them BY HEART.
Stars: ✭ 1,341 (-15.61%)
Mutual labels:  best-practices

The PowerShell Best Practices and Style Guide

Table Of Contents

Creative Commons License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, please attribute to Don Jones, Matt Penny, Carlos Perez, Joel Bennett and the PowerShell Community.

You are free to:

Share — copy and redistribute the material in any medium or format

Adapt — remix, transform, and build upon the material

The authors encourage you to redistribute this content as widely as possible, but require that you give credit to the primary authors below, and that you notify us on GitHub of any improvements you make.

What are Best Practices

PowerShell Best Practices are what you should usually do as a starting point. They are ways of writing, thinking, and designing which make it harder to get into trouble. The point of a Best Practice is to help the reader to fall into the pit of success:

The Pit of Success: in stark contrast to a summit, a peak, or a journey across a desert to find victory through many trials and surprises, we want our customers to simply fall into winning practices by using our platform and frameworks. To the extent that we make it easy to get into trouble we fail.

-- Rico Mariani, MS Research MindSwap Oct 2003.

Like English spelling and grammar rules, PowerShell programming best practices and style rules nearly always have exceptions, but we are documenting a baseline for code structure, command design, programming, formatting, and even style which will help you to avoid common problems, and help you write more reusable, readable code -- because reusable code doesn't have to be rewritten, and readable code can be maintained.

Having said that, remember: the points in the Best Practices documents and the Style Guide are referred to as practices and guidelines, not rules. If you're having trouble getting something done because you're trying to avoid breaking a style or best practice rule, you've misunderstood the point: this document is pragmatic, rather than dogmatic. We'll leave dogmatism to teams and projects that require you to meet their specific guidelines.

Table of Contents

The guidelines are divided into these sections:

Current State:

Remember what we mean by Best Practices

The PowerShell Best Practices are always evolving, and continue to be edited and updated as the language and tools (and our community understanding of them) evolve. We encourage you to check back for new editions at least twice a year, by visiting https://github.com/PoshCode/PowerShellPracticeAndStyle

The PowerShell Style Guide in particular is in PREVIEW, and we are still actively working out our disagreements about the rules in the guide through the GitHub issues system.

Contributing

Please use the issues system or GitHub pull requests to make corrections, contributions, and other changes to the text - we welcome your contributions!

For more information, see CONTRIBUTING

Credits

The Community Book of PowerShell Practices was originally compiled and edited by Don Jones and Matt Penny with input from the Windows PowerShell community on PowerShell.org

Portions copyright (c) Don Jones, Matt Penny, 2014-2015

The PowerShell Style Guide was originally created by Carlos Perez, for his students, and all the good parts were written by him.

Portions copyright (c) Carlos Perez, 2015

Any mistakes in either of these documents are there because Joel Bennett got involved. Please submit issues and help us correct them.

Portions copyright (c) Joel Bennett, 2015

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].