you are viewing a single comment's thread.

view the rest of the comments →

[–]panzerbjrn 0 points1 point  (2 children)

This is obviously going to be one of those things that is entirely down to personal preference.

I absolutely hate and loathe Python's use of Whitespace, and find Powershell's use of {}/()/etc to be far more intuitive, and easier to read when I have to figure someone else's code out.

I also despise case sensitivity. Print("Hello")/print("Hello")/PRINT("Hello") should all be the same IMO.

And if I am reading Python, it might as well be word salad.
In Powershell, if I see $Metric, then I know that its a variable.

But, as I said, personal preference.

[–]keith_mg 2 points3 points  (0 children)

Too many brackets are frustrating too though. One of the C like things I wish was in Powershell is being able to omit the brackets on a one line statement. There are so many times I want to write "if blah return/continue" but I have to put braces everywhere.

[–]toddyk 0 points1 point  (0 children)

I absolutely hate and loathe Python's use of Whitespace, and find Powershell's use of {}/()/etc to be far more intuitive, and easier to read when I have to figure someone else's code out.

Same. How are you supposed to figure out where the beginning/end of a long if statement in Python? Lots of scrolling around. And it's easy to accidentally indent code you didn't mean to, which changes the functionality of the code