Mini-Pattern: The File / Stream Duality
If you are writing an API that takes a filename, you _must_ also provide an API that does precisely the same thing to an arbitrary stream of bytes. →
tail -f /dev/mind > blog
If you are writing an API that takes a filename, you _must_ also provide an API that does precisely the same thing to an arbitrary stream of bytes. →