4 ms·
It's somewhat in following with the Unix paradigm; do one thing, do it well.
by freehunter 14y ago
It's somewhat in following with the Unix paradigm; do one thing, do it well.
- tferris 14y agoNot always. Regarding core Unix commands yes (like 'ls', 'cat') but look for example at 'git' which is a real beast.
- austintaylor 14y agogit is just a facade for the git-* commands.
- Smudge 14y agoNot to veer too far from the main discussion, but 'git' isn't just some giant monolithic binary. The 'git' command is a wrapper around a bunch of different, relatively modular binaries. They each even have their own man page. (e.g. 'git push' maps to 'git-push'). Each is just a unique action that can be applied to a common data structure (the git repository).
- tferris 14y agoI know. And still all these different libs are accessible by one UI/route ('git').
- krakensden 14y agoDo an ls /usr/libexec/git-core/ (or your operating system's equivalent) some time. The fact that the porcelain exists does not mean that the plumbing does not.
- natep 14y agoLook closer at git, and you'll see that it's actually a collection of smaller programs (each of the git commands is made as a separate executable before being combined into git)
- deleted 14y ago[deleted]
- cooldeal 14y agoSo when can we do $ camera | fb-photo | facebook | sed 4 | awk ? Chaining the utilities is the crux of the Unix paradigm, remove that and you're left with individual utilities that are far less powerful than when chained together.
- freehunter 14y agoWhich is why I said "somewhat". However, you can upload a picture from one app and interact with it in another, so that's... something I guess.
- scotu 14y agoNow. With android intents (ok, not cool as pipes, but the idea is there)
- clarky07 14y agoYou can do it on iOS as well. You can go from the facebook camera app to the main fb app. (Any app can do this, but the point of the article is fb so i used them as the example)
- ZeroGravitas 14y agoIs the link between the two apps hardcoded on iOS? On Android you can have any camera app | any photo editing/filters app | any social network upload where each app is chosen by the user which seems closer to the idea of pipes to me.
- clarky07 14y agoYeah it's something that Facebook would hardcode. Click on this person and instead of doing something here it sends you to that person's profile on their other app. It isn't like intents on Android, but from the perspective of Facebook it is probably preferable. They don't want you to go to your choice of photo or social network or chat app, they want you to go to their app.
- 14y ago