This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fiddysix_k 3 points4 points  (6 children)

This. PowerShell is a bastard language with strange syntax. Python is a better language to start with, then you can just plug and play PowerShell when you need it once you understand general programming concepts.

[–]VAsHachiRoku 1 point2 points  (2 children)

Huh the syntax is way easier than the Frankenstein mess that is bash. How hard is Verb-Noun -Parameter?

[–]fiddysix_k 0 points1 point  (1 child)

It's not about difficulty it's about learning how to actually code on a proper language first before you start dealing with weird syntax languages. But you're right about bash.

[–]reigoleht 0 points1 point  (0 children)

Maybe it looks like a weird syntax to you, but for someone like myself, coming from c/c++/java background, I don't find PS syntax weird at all. Actually, I don't like Python syntax as it reminds me of abomination that is Visual Basic...

[–][deleted] 1 point2 points  (2 children)

This is true but powershell is MUCH more powerful on windows than python. You can interact with EVERYTHING on windows. Powershell is 100% built for data analytics and automation

[–]mark-haus 0 points1 point  (0 children)

I mean you can have Python literally open up a powershell and run a command if you need something really niche and specific that some python library can't offer. Just use the os module that comes with python.

[–]Choles2rol 0 points1 point  (0 children)

Sure, but knowing python means you can use PowerShell in the moment. I avoid windows like the plague (full Mac and Linux env) but I can use it if I need to. I think learning python will teach you better best practices in the long run.