3 ms·
Of course you're not going to rewrite Word by piping data around, for opening and saving and doing spell check. Scripting languages are the next extension of u
by zdw 16y ago
Of course you're not going to rewrite Word by piping data around, for opening and saving and doing spell check.
Scripting languages are the next extension of unix - you take all those little programs that do something well, put them together with some control structure and you can do big things, often in an automated manner, which is difficult to do on a GUI.
That said, showing the GUI interface to someone and having them make selections is much more suited to other programming methods (MVC,etc.), often which can just run scripts on the back end.
The point of unix isn't having a bunch of programs that do different things - it's combining them like legos to do complex tasks via scripting.
- nwmcsween 16y agoYou're limiting your view on operating systems to the stone age and that's exactly what Linux, Windows... etc are - stone age operating systems (midori is an exception if ever what I read is released). If the operating system is simply a vm the interface is the vm, what do I mean by this is there's no separation between low level and high level thus no barriers.
- vacri 16y agoOut of curiousity, what is a currently functional non-stone-age operating system?
- calibraxis 16y agoI haven't used any exotic OSes (like the Lisp Machines?), but I believe that Unix's "do one thing and do it well" philosophy was never serious, just an (ignored) guideline to programmers. Ignored partly because Unix isn't that conducive to it. The Unix Way is to operate on lines of text with tools like sed/awk. These lines of text are poorly-serialized object representations. Programs are big monolithic procedures (which take a lot of optional params as input — switches), which you're supposed to glue together under extremely weak programming environments (like bash). I abuse Unix to get out of this paradigm as much as appropriate. There is a good idea hidden inside communicating with serialized objects (which I'm sure Erlang users understand better than I do), but it's a very primitive version. (Maybe I'm wrong and someone will finally enlighten me.)
- philwelch 16y ago"Of course you're not going to rewrite Word by piping data around, for opening and saving and doing spell check." No, but Apple had a project called OpenDoc that did something similar. The idea was that you'd have a UI centered around the document, and you could pull in spell check and editing and all kinds of other components instead of having a program like Word. It didn't work out, for various reasons, many of which were unrelated to the merit of the idea itself. http://en.wikipedia.org/wiki/OpenDoc http://en.wikipedia.org/wiki/OpenDoc