logoalt Hacker News

PaulHoulelast Wednesday at 1:16 PM4 repliesview on HN

Two interesting options for everyday scripting are Python and Powershell.


Replies

b40d-48b2-979elast Wednesday at 1:20 PM

A nice part of PowerShell: you can `Add-Type` and embed C#/F# when you want.

bashkiddielast Wednesday at 4:00 PM

I am unhappy with python. It degrades fast. It deprecates libraries every minor release and that tends to break the applications I use. Recent examples are distutils and opsaudio.

show 2 replies
logicalleelast Wednesday at 1:44 PM

you won't believe how powerful Python is with libraries. ChatGPT and Claude made a brand new browser, that isn't based on Chromium or Firefox, and yet still follows many aspects of layout correctly. I read the article we're discussing ("stop designing languages") on this browser and I'm currently using it to post this reply.

show 2 replies
IshKebablast Wednesday at 3:51 PM

Python is actually kind of awkward for this use case since you can't import from other files easily unless you are in a proper Python package, which isn't usually the case for everyday scripting.

show 1 reply