Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to name a component that will be capable of both reading from an InputStream (file or otherwise), and writing to an OutputStream; thus serving both as a Reader and as Writer.

So far the best I've come up with is:

  • ReaderWriter
  • IOStreamManager
  • StreamManager

Any good ideas?

share|improve this question

closed as not constructive by ChrisF Feb 25 '13 at 15:36

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

This needs more context to be sure, but it sounds as if you're focusing on the wrong level here. I would expect such a component to be called RatingsManager or FuelMonitor, not ReaderWriter just because it reads and/or writes stuff. – Kilian Foth Feb 25 '13 at 15:32
If you mean the tool is meant to connect an inputstream to an output stream I would use IoChannel. – Michael Brown Feb 25 '13 at 17:57
I pondered this recently, and I concluded that if I need to read and write a resource at the same time, I will just create two streams (a Reader and a Writer). – M. Dudley Feb 25 '13 at 19:52
up vote 3 down vote accepted

I would suggest StreamIO. I don't like the word "Manager" for class or component names, it is too much of a loaded word.

share|improve this answer
I like your suggestion - I ended up going with IOStreamer. – herpylderp Feb 25 '13 at 15:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.