5 ms·
It's pretty funny, but it's an example of where we do NOT want to be headed. The Unix philosophy is a set of tenets based on assumptions that held in the 1970s
by bitwize 13y ago
It's pretty funny, but it's an example of where we do NOT want to be headed.
The Unix philosophy is a set of tenets based on assumptions that held in the 1970s and 1980s, but don't really hold today. One of these tenets is, "make the implementation as simple and as correct as possible; it is better for an implementation to be simple than to be correct."
This may have been true in an era when every site had to roll a homegrown solution for pert-near everything that didn't come with the base OS, but in this era of open source it is far more important for the implementation to be correct, because the Right Thing can be written once and everybody can use it, and save themselves the accumulated hours of frustration incurred by simple-but-subtly-incorrect implementations.
This is why the Linux world is standardizing on systemd -- to get AWAY from Fucking Shell Scripts and towards a more deterministic, declarative model of what we want done. In the case of configuration management, what you want is a tool that accepts a description of what the system configuration should be, diffs that against the current configuration, and enacts a plan of changes to get from point A to point B automatically. NixOS seems to be a good step in this overall direction.
Fun fact: I used to do instancing of robotic control computers running a specialized version of Debian with Fucking Shell Scripts (FAI, to be exact: http://fai-project.org/ http://fai-project.org/ ). It was pure hell. We would have killed for a more deterministic solution.
- jamiesonbecker 13y agoSimple is almost always Correct. Conversely, complex is almost always incorrect.
- mercurial 13y ago"Simple enough is almost always correct". "Too simple for the problem domain" is almost always a synonym for "build a heap of absolutely terrible and verbose pile of complexity on top of the 'simple' system". See also sysvinit.
- kelnos 13y agoStrongly disagree. Often complexity in your implementation is necessary to present a simple interface to your user.
- eikenberry 13y agoThe primary user of your implementation is the next developer to maintain it.
- kelnos 13y agoThe user of a piece of software is more important than its current or future maintainers.
- rschmitty 13y agoYes but current or future users want reliability, features, and speed. If you care about your users in the long term you should care about the project's maintainers.
- kelnos 13y agoI suggested a relative ordering of importance; nowhere did I imply that one was important and the other was not.
- eikenberry 13y agoThinking like this is why we have so much crappy software out there.
- bitwize 13y agoTo quote Ryan Dahl: The only thing that matters in software is the experience of the user. How many more times must it be said? How many more times must Apple win -- and win big -- before open source nerds get the message?
- billsix 13y agoI thought the unix quote on simple vs correct is regarding things like "what should the kernel do when a process is processing a system call like read/write and needs to handle a signal. should it return an error of type EAGAIN, or somehow completely shield the user-space program of this condition?". http://www.jwz.org/doc/worse-is-better.html http://www.jwz.org/doc/worse-is-better.html > This may have been true in an era when every site had to roll a homegrown solution for pert-near everything that didn't come with the base OS, but in this era of open source it is far more important for the implementation to be correct, because the Right Thing can be written once and everybody can use it, and save themselves the accumulated hours of frustration incurred by simple-but-subtly-incorrect implementations. The BSDs and linux are open source, but we still must check for EAGAIN.
- felixgallo 13y agoI knew this was a systemd advocate after the second sentence. Hilarious.
- bitwize 13y agoUh, most of the Linux community consists of systemd advocates now. Systemd is now a fait accompli on all the major distros, and most of the users I encounter just want the bickering to stop. It would have stopped long ago were it not for a small but loud contingent of haters.
- kjs3 13y ago> One of these tenets is, "make the implementation as simple and as correct as possible; it is better for an implementation to be simple than to be correct." Having been a Unix admin since long before Linux existed, I find this statement to be complete bullshit.
- route66 13y agoI think it's the chinese whisper effect applied to http://www.jwz.org/doc/worse-is-better.html http://www.jwz.org/doc/worse-is-better.html [0] and as such more cult than information. As witnessed by the discussion around here. [0] ("Correctness-the design must be correct in all observable aspects. It is slightly better to be simple than correct.")
- kjs3 13y agoInteresting theory. Considering the ignorance displayed, I think you're correct. Microsoft quality anti-Unix FUD.