Title: Avoid Using Semicolons (`;`). · Issue #159 · PoshCode/PowerShellPracticeAndStyle · GitHub
Open Graph Title: Avoid Using Semicolons (`;`). · Issue #159 · PoshCode/PowerShellPracticeAndStyle
X Title: Avoid Using Semicolons (`;`). · Issue #159 · PoshCode/PowerShellPracticeAndStyle
Description: The PowerShell practice and style guide has a rule for: Avoid Using Semicolons (;) as Line Terminators. I wonder whether there is a general readability recommendation for avoid Using Semicolons (;), period (at all), meaning: Don't put mu...
Open Graph Description: The PowerShell practice and style guide has a rule for: Avoid Using Semicolons (;) as Line Terminators. I wonder whether there is a general readability recommendation for avoid Using Semicolons (;)...
X Description: The PowerShell practice and style guide has a rule for: Avoid Using Semicolons (;) as Line Terminators. I wonder whether there is a general readability recommendation for avoid Using Semicolons (;)...
Opengraph URL: https://github.com/PoshCode/PowerShellPracticeAndStyle/issues/159
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Avoid Using Semicolons (`;`).","articleBody":"The **PowerShell practice and style** guide has a rule for: [Avoid Using Semicolons (`;`) as Line Terminators](https://poshcode.gitbook.io/powershell-practice-and-style/style-guide/code-layout-and-formatting#avoid-using-semicolons-as-line-terminators).\r\nI wonder whether there is a general readability recommendation for **avoid Using Semicolons (`;`), *period*** (at all), meaning:\r\nDon't put multiple statements in a single line but instead spreading them over multiple lines, thus:\r\nRather than:\r\n```PowerShell\r\nif ($Condition) {\r\n Write-Host 'Exiting...'; return\r\n}\r\n```\r\ndo:\r\n```PowerShell\r\nif ($Condition) {\r\n Write-Host 'Exiting...'\r\n return\r\n}\r\n```","author":{"url":"https://github.com/iRon7","@type":"Person","name":"iRon7"},"datePublished":"2022-12-22T09:55:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/159/PowerShellPracticeAndStyle/issues/159"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:31a062f3-9b81-bd89-6da0-91e12c5adec9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1D2:243F3F:14AE113:1C9885D:69777832 |
| html-safe-nonce | 889dda81bf5af30b668986aa6ab71079e590ee7bb2021e366b6827233e0f28a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUQyOjI0M0YzRjoxNEFFMTEzOjFDOTg4NUQ6Njk3Nzc4MzIiLCJ2aXNpdG9yX2lkIjoiMzU0Nzc2OTMxOTE3ODU0NzcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 816d1fb890311556af7e7c95b8564f8768837b5ba971aae6cf3d4d3f0f2fb4d3 |
| hovercard-subject-tag | issue:1507571925 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PoshCode/PowerShellPracticeAndStyle/159/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7f331b7d81567c745557f4baa90e910db9425024a9e60f7cb2ca86d79a98e236/PoshCode/PowerShellPracticeAndStyle/issues/159 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7f331b7d81567c745557f4baa90e910db9425024a9e60f7cb2ca86d79a98e236/PoshCode/PowerShellPracticeAndStyle/issues/159 |
| og:image:alt | The PowerShell practice and style guide has a rule for: Avoid Using Semicolons (;) as Line Terminators. I wonder whether there is a general readability recommendation for avoid Using Semicolons (;)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iRon7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9fea6af76c6e24ca5c5728a18d4220d768790d04abe1ba6aafa18526daff96e7 |
| turbo-cache-control | no-preview |
| go-import | github.com/PoshCode/PowerShellPracticeAndStyle git https://github.com/PoshCode/PowerShellPracticeAndStyle.git |
| octolytics-dimension-user_id | 5641451 |
| octolytics-dimension-user_login | PoshCode |
| octolytics-dimension-repository_id | 17317123 |
| octolytics-dimension-repository_nwo | PoshCode/PowerShellPracticeAndStyle |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17317123 |
| octolytics-dimension-repository_network_root_nwo | PoshCode/PowerShellPracticeAndStyle |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0bc7a371bc0035e2253b0269926586e60cf8a4ac |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width