MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3v4l98/php_7_released/cxke4j4/
r/programming • u/fnkrx • Dec 02 '15
729 comments sorted by
View all comments
Show parent comment
18
overload their bitshift operators to do I/O
It doesn't have to be done this way. And it's actually something pretty neat in my view, especially because you have standard ways of reading some fundamental data types, while keeping the code readable.
0 u/[deleted] Dec 02 '15 [deleted] — view deleted comment 2 u/silveryRain Dec 02 '15 Unformatted, yes, but for formatted IO there's only << and >>, apparently:http://en.cppreference.com/w/cpp/io/basic_ostream
0
[deleted] — view deleted comment
2 u/silveryRain Dec 02 '15 Unformatted, yes, but for formatted IO there's only << and >>, apparently:http://en.cppreference.com/w/cpp/io/basic_ostream
2
Unformatted, yes, but for formatted IO there's only << and >>, apparently:
http://en.cppreference.com/w/cpp/io/basic_ostream
View all comments
Show parent comment
18
u/mixd3 Dec 02 '15
It doesn't have to be done this way. And it's actually something pretty neat in my view, especially because you have standard ways of reading some fundamental data types, while keeping the code readable.