-
Notifications
You must be signed in to change notification settings - Fork 292
Open
Labels
Help WantedGreat spot for someone to pitch inGreat spot for someone to pitch in
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 multiple statements in a single line but instead spreading them over multiple lines, thus:
Rather than:
if ($Condition) {
Write-Host 'Exiting...'; return
}
do:
if ($Condition) {
Write-Host 'Exiting...'
return
}
Metadata
Metadata
Assignees
Labels
Help WantedGreat spot for someone to pitch inGreat spot for someone to pitch in