55

It feels like anything is mowed down on the internet. I've been a dev for a long time too, and I never feel sure when I chose a stack for a new toy project (in my day job I rarely get to chose, so that's a non issue there)

you are viewing a single comment's thread
view the rest of the comments
[-] severien@lemmy.world 25 points 1 year ago* (last edited 1 year ago)

Python is for some reason darling of many, sometimes it has almost religious connotations. Meanwhile differences from e.g. PHP are mostly superficial and each has their strengths and weaknesses.

Bourne shell is orders of magnitude worse clusterf*ck than JavaScript, yet it's rarely criticized.

Rust rarely gets criticized which isn't necessarily a problem, since it's IMHO a good language for its intended use case. But people tend to recommend it for things where the trade offs come out negative. (apps not needing max. performance)

In general I wouldn't follow the trends on social media, it's all a huge groupthink, mostly focusing on (easily avoidable) warts, and ignoring strengths.

[-] aard@kyu.de 9 points 1 year ago

Bourne shell is orders of magnitude worse clusterf*ck than JavaScript, yet it's rarely criticized.

Both have their place. Bourne shell scripts are great as a container for connecting the various tools you have around - and for that kind of relatively simple script is way easier to use than something like Powershell. If you use it for something more complex you're probably an idiot.

Same with Javascript - if you need to annoy someone with popups on a website, or have something dance around in the window it's a great language. If you use it for something else you're probably also an idiot.

[-] KyuubiNoKitsune 7 points 1 year ago

Bourne shell is orders of magnitude worse...

PowerShell is to bash what a fighter jet is to a model airplane, but you don't dare mention it or you'll get chewed out.

I prefer it to python too, I must be the antichrist.

[-] TheBeege@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

That's because PowerShell blurs the line between programming language and scripting language. By accessing the entire .NET library, of course it's going to have more features than a basic scripting language that relies on open source utilities installed on the system.

The reasons people hate it are because they hate Microsoft, it breaks from traditional shells too far, and it's a pain in the ass to type (verbose). To use PowerShell effectively, you almost need to write full software programs. At that point, just use C#.

As for you preferring it to Python.... I think you don't know Python. I'm trying to come up with every way possible to make PowerShell sound better than Python, and I got nothing. Maybe you don't like whitespace? I cannot understand your point of view here. Help me out

[-] jelloeater85@lemmy.world 2 points 1 year ago

I use both ALOT professionally. I can say I prefer Python over PowerShell anyway... Except for Windows automation, where PS is actually pretty dope. Bash is okay, I've seen folks write shit in it that should have been done in Python, or GoLang, or literally anything else.

That being said, I won't go near Rust, not because it's a bad language feature wise, but my brain hurts when I try and read Rust code.

this post was submitted on 10 Sep 2023
55 points (100.0% liked)

Programming

17528 readers
229 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS