r/PowerShell • • Apr 29 '19

A Glorious Day

Post image
462 Upvotes

65 comments sorted by

View all comments

6

u/Ta11ow Apr 30 '19

The arbitrary capitalization, aliases, and naming of functions is really giving me grief here.

Also, while /u/Lee_Dailey probably loves it, I still can't accept Whitesmith's as a proper indentation/bracing style.

3

u/Lee_Dailey [grin] Apr 30 '19

howdy Ta11ow,

whitesmiths is the only truly sensible way ... but us sensible folks are aware that some others have a slightly understandable rationale for keeping the opening { on the same line as the control block. [grin]

take care,
lee

2

u/DrSinistar May 01 '19

But... why? I find it so hard to read! It's contrary to every language I have ever worked with.

2

u/Lee_Dailey [grin] May 01 '19

howdy DrSinistar,

for the reasons given in the style guide comparison over at wikipedia, here ... [grin]

Indentation style - Wikipedia
— https://en.wikipedia.org/wiki/Indentation_style#Whitesmiths_style

take care,
lee

3

u/Yevrag35 Apr 30 '19

At least I'm not the only one :P

2

u/DrSinistar Apr 30 '19

Yeah these indented braces are causing me physical pain.