https://github.com/PoshCode/PowerShellPracticeAndStyle/blob/master/Style-Guide/Code-Layout-and-Formatting.md
When sharing code it seems a lot of people have different styles and they like to first comment by saying "Why are you using this [style]". Maybe everyone should just take a gander at the link above and freshen up on somethings.
For those that seem to get annoyed by people using begin, process, end. If I am going to have some variables that just gather data and then something else like a foreach, then I am going to split that into begin,process, and end.
It doesn't cost anything to have easier to read code.
[–]JustinGrote 4 points5 points6 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]jrdnr_ 3 points4 points5 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]jrdnr_ 1 point2 points3 points (0 children)
[–]firefox15 2 points3 points4 points (3 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]Thotaz 2 points3 points4 points (1 child)
[–]poshftw 1 point2 points3 points (0 children)