Misconceptions about the UNIX Philosophy (2024)

17 points by runxiyu


jfloren

The biggest misconception about the UNIX Philosophy™©®, imo, is treating it like a religion instead of a vaguely good idea.

dsr

The actual UNIX philosophy is that every user is also a programmer and possibly a sysadmin; overlaps are expected.

madhadron

I’m not convinced that there is a philosophy, just a post hoc rationalization of shell pipelines. And I’ve got a lot of sunk cost in shell pipelines, but imagine instead a statically typed Smalltslk on top of .NET with all the functionality we depend on in Unix utilities available as libraries. That would be a far more composable environment that bore no resemblance to Unix today. Sadly, what we got is PowerShell, which repeats the tragedy of the Unix shell as farce.

abeyer

Composability doesn't have to be between programs, if for example you are building a game or end user program, composability may mean that individual libraries or components of the overall program fit together nicely. A single program can be UNIX-like, if the various individual pieces of its internals fit together well.

IMHO, that seems necessary, but not sufficient. I don't see how merely "fitting together well" makes something particularly UNIX-like, unless it also exposes those seams to the user to reassemble into another configuration to suit their needs.

Maybe the author thought that was implicit in what they were saying, but it doesn't come across that way.

runxiyu

I do believe that well-designed interfaces with strongly typed schemas/protocols are some of the most helpful things for this interpretation of the UNIX philosophy.