But I'm not taking a file name, I'm taking a stream of data, for which the output should always be the same. This should be good enough for applications that deal with standard in and standard out, yes?
Though that's a good point, when it comes time to be opening files on the disk, it inevitably becomes stateful again.
Though that's a good point, when it comes time to be opening files on the disk, it inevitably becomes stateful again.