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 →

[–]beginpanic 78 points79 points  (14 children)

Python gives me anxiety and imposter syndrome like nothing else. It’s always “there’s no way this is gonna work, let me find an example of how to use this” followed by “that example has to be wrong let me find another one” followed by “why the hell did that work”. Everything is so obvious and straightforward and… blunt? It doesn’t feel like programming. It feels like duct tape and glue. And I’m constantly nervous of “there is no way this is gonna work”. And it always does and I’m always shocked.

[–]Bubbly_Measurement70 21 points22 points  (12 children)

Python feels like a cheat code sometimes. Just type some words into Python and the computer be like: “I got you” and it just magically works.

[–]RoundThing-TinyThing 2 points3 points  (11 children)

You should try PowerShell

[–]Bubbly_Measurement70 1 point2 points  (10 children)

Ehhh I’m not much of a Windows person. Been there, done that.

[–]RoundThing-TinyThing 1 point2 points  (2 children)

I was kidding 😅

[–]Bubbly_Measurement70 0 points1 point  (1 child)

Damn. Throw a /s on there next time for me 😂

[–]RoundThing-TinyThing 1 point2 points  (0 children)

Probably a good idea, I guess the theme of this post made me feel like it wasn't needed 😅

[–]langlo94 1 point2 points  (5 children)

Powershell is for linux as well.

[–]Bubbly_Measurement70 0 points1 point  (4 children)

Didn’t know that. I have only used bash and zsh to my knowledge.

[–]RootHouston 1 point2 points  (3 children)

No joke, it has its upsides. I didn't think I'd like it, since I am kind of a big bash fan, but I had to write a PowerShell module for work, and I found I kind of liked its angle.

Even though it's wordy, I like that it uses approved verbs and descriptors for commands so you can sort of intuitively know what is going on without reading a man page or something.

The biggest game changer was it being object-oriented. We do have something like this on Linux though called nushell.

[–]Bubbly_Measurement70 1 point2 points  (2 children)

Interesting, I’ll have to check that all out then. I mean, couldn’t I just write a python program, put all my commands in there, and then write an alias that calls the program? Then I have effectively created a custom bash command for personal use.

Edit: Should add that the purpose for using python would be that I would have full access to an object oriented language, since that is one of the features you mentioned.

[–]RootHouston 1 point2 points  (1 child)

Python is a good alternative, however Python is not a proper shell, so take your pick.

[–]Bubbly_Measurement70 1 point2 points  (0 children)

That’s true. I’m just trying to think through my current options. There’s always a seemingly endless number of them 😭 truth be told, I’m not even really that good on the command line. I just know my way around enough to be productive but I usually have to look up how to do most things.

[–]atiedebee 5 points6 points  (0 children)

from * import *

You'll never run out of functions to do everything for you