Open
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
}