Re:Responder: A familiar HTTP Service Framework
by kungtotte on Wednesday October 17, 2018 @12:13AM
(#18236086)
I agree with you. Automate some task? Scrape some web content? Glue some programs together by translating the output of one to fit the input of the other?
Python it is! If it doesn't already have something in the standard library for your task, it's definitely in the PyPI. This reduces your work to importing a library and writing 5-20 lines of code.
Re:Responder: A familiar HTTP Service Framework
by ryl00 on Wednesday October 17, 2018 @12:25AM
(#18236115)
> Sort of what people used to use Perl for.
Used to? People still do this (I should know; I'm one of them).
Re:Responder: A familiar HTTP Service Framework
by paultopia on Wednesday October 17, 2018 @08:13AM
(#18238182)
Heh, fair enough! I think I still have an open-ended bet with a friend about using Perl 6 for something...
Re:Responder: A familiar HTTP Service Framework
by int0x80 on Wednesday October 17, 2018 @10:01AM
(#18239054)
And bash/zsh. Bash can be really powerful. Slow for some tasks though (much slower than perl for example), but little times I've had that problem.
Re:Responder: A familiar HTTP Service Framework
by basil-rash on Tuesday October 16, 2018 @11:54PM
(#18236014)
I use "short scripts" to mean: I have an idea I want to play around with, usually involving data analysis or some data structure or algorithm sketch, and I'd like to devote the next 2-3 hours to writing a 100-200 line program that evolves with me as I refine what exactly it is that I would like to be examining.
Personally, I use Python as a Bash replacement a lot, that's what I think of when I hear "short scripts." Sort of what people used to use Perl for. Pushing strings around, complicated repetitive filesystem manipulations. (And data sciencey stuff of course.)