Originally Posted by
brewbuck
The two operations inherently have different names and there is no single word that adequately describes both of them.
("Literator" was probably a joke, and sounds completely ridiculous)
Yeah, I think combining read/write operations just make things ambiguous >.<
But how?
They are exactly similar objects and have similar flow...
Doing something similar twice and more is irritating right?
Moreover we are talking about objects and their relations.
For instance:
To print A, B, C, D;
Only stupid people would do this:
Code:
cout << 'A' << endl;
cout << 'B' << endl;
cout << 'C' << endl;
cout << 'D' << endl;
Better,
Code:
char array = {'A', 'B', 'C', 'D'};
for(int i = 0; i < 10; i++) {
cout << array[i] << endl;
}
Or even smarter,
Code:
for(char i = 65; i < 69; i++) {
cout << i << endl;
}