UnixFiles

ThoughtStorms Wiki

Context : Unix, TextPeople, CommandLine, TheUnixPipe, OperatingSystem

Another round of arguing about text vs. non-text representations.

I had this insight.

@msimoni @chatur_shalabh Yeah. Another way of looking at this is that Unix by taking line-breaks seriously, puts a 'sequence' API in front of all text. So when I say I like text, I also mean that I like this standard sequence API to which you can apply all the usual map, filter, fold etc operations.

@msimoni @chatur_shalabh At the same time, text as a sequence of characters affords parsing/pattern matching/regex APIs. Again, when I think of text, I think of having these at my disposal.

Maybe if the OS is built on something different but offers consistent parsing and sequence APIs to everything ...

@msimoni @chatur_shalabh Then I'd find that an acceptable substitute.

When I contemplate textlessness, I imagine that in practice would be some impoverished ad-hoc API to the objects that isn't as expressive as parsing and sequence processing.

@msimoni @chatur_shalabh The worst-case scenario is an OO system (even SmallTalk) where every object provides its own ad-hoc inconsistent API to its contents rather than there being a single standard API.

But even an 'everything is a table/query' API isn't as expressive as everything is seqs & parsables

No Backlinks