dgfitz 3 days ago

> Besides the fact that shell scripts aren't scalable…

What are you trying to say there? My understanding is that, way under the hood, a set of shell scripts is in fact enabling the scalable nature of… the internet.

2
stevefan1999 3 days ago

...that's only for early internet, and the early internet is effing broken at best

lmm 3 days ago

> My understanding is that, way under the hood, a set of shell scripts is in fact enabling the scalable nature of… the internet.

I sure hope not. The state of error handling in shell scripts alone is enough to disqualify them for serious production systems.

If you're extremely smart and disciplined it's theoretically possible to write a shell script that handles error states correctly. But there are better things to spend your discipline budget on.

dgfitz 3 days ago

My half tongue-in-cheek comment was implying things like "you can't boot a linux/bsd box without shell scripts" which would make the whole "serving a website" bit hard.

I realize that there exists OS's that are an exception to this rule. I didn't understand the comment about scripts scaling. It's a script, it can do whatever you want.

lmm 2 days ago

Shell scripts don't scale up to implementing complex things, IME. If I needed to do something complex that had to be a shell script for some reason, I'd probably write a program to generate that shell script rather than writing it by hand, and I think many of those system boot scripts etc. are generated rather than written directly.