TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Anybody can write good bash (with a little effort)

3 pointsby pcr910303over 3 years ago

1 comment

usrbinbashover 3 years ago
I prefer to minimize the amount of lines of shellcode I write. Preferably to zero.<p>I know it&#x27;s hard. I get it. bash is convenient, and because it is, I have written more bash deployment pipelines, buildtools, utils, watchdogs, crons, etc. than I care to count.<p>But also, bash _is not a programming language_ outside of the technical definition. It is a command interpreter, and the reason why large shellscripts suck, is because they are written using a command-interpreter as a general purpose PL.<p>Have something larger than 40 LOC bash? rewrite it using an actual programming language.