Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

1000 lines of shell is about 900 lines too many for "simple".


As opposed to?

This just sounds like dumb shell hate.

I personally would have used another language, but shell ain't that hard if you have some experience with it, and are using shellcheck as the author does.

The config formats of the distro are optimized for command line tools, and writing the package manager in shell seems like a good way to ensure that this is indeed the case - basic dogfooding.


As opposed to programming languages with constructs that allow proper code hygiene. That implies an actual type system, a usable standard library, etc.

Shell is great for scripting usage of other programs, far better than other programming languages. That's what it's made for, after all. It's the only thing it's made for.


Compared to any other package manager source I've dug into, I haven't found simpler.


If you're comparing line counts remember that this one is vastly incomplete in comparison.


This




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: