Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Lensflare18969165d@retoor in theory, maybe.
In practice, it‘s a nightmare because you first need to install the correct version of python and the correct dependencies that the script is using to resolve the errors before you can run that damn script.
Scripts should run out of the box. -
Lensflare18969165d@retoor I regularly have to deal with python scripts as part of some tool or dependency of something that I need to use. And many of those scripts don‘t care about python3.
They will use some random 2.x version and I need to install it.
That’s not 0.1% but like 50% -
Lensflare18969165d@retoor the last time was when I set up swift on a linux vm. I don‘t remember the details but some of the tools that set up the environment needed python.
Ok it‘s less frequent than it sounds, but I‘m annoyed every time that python is involved, because of some versioning issues.
It‘s just my personal experience.
Swift as a scripting language is much better, imo. I‘m using it for personal stuff even on Windows. There are no versioning issues and dependencies are installed automatically on demand.
Unfortunately it‘s too obscure and unknown in the dev world. -
Lensflare18969165d@retoor I don‘t remember exactly but I think python isn‘t needed by swift directly. It was just a bunch of stuff that I needed to install first in order to install swift, and that stuff had some python dependencies. There might be alternative ways to install them, but that was the one that I found and that worked.
-
AvatarOfKaine3746165dif i can't understand the bloody syntax I just write a python script lol
like anything with regex.
python.
bash and its fucky bs of expanding wildcards is annoying and i hate having to escape every goddamn thing. -
AvatarOfKaine3746165dif i can't understand the bloody syntax I just write a python script lol
like anything with regex.
python.
bash and its fucky bs of expanding wildcards is annoying and i hate having to escape every goddamn thing. -
AvatarOfKaine3746165d@retoor I refused to use python 2. lack of parenthesis made the code look sloppy.
-
AvatarOfKaine3746165d@retoor yeah well that was enough :P I saw that and though of sh LOL i like punctuation in my code if not my writing
-
lorentz15165165d@retoor If I want to store a command for reuse I write a program, initially in a clumsy scripting language and the second time I need to modify it I switch to a proper language. On Linux or cross-platform, JS then Rust, on Windows, PowerShell then C#.
-
lorentz15165165d@retoor I tried to learn Nushell but it doesn't really improve things over JS and it has way worse DX, yet it also can't spawn arbitrary programs like a shelll, so I didn't really see the value add.
Microsoft thats not a terminal, that five dotnet's in a powershell trenchcoat!
rant