News for hackers. Stuff that matters.
Re:Talking to C Programmers about C++ [video] by MichaelMoser123 on Tuesday September 27, 2016 @09:41AM (#12589485)
> trying to understand what the fuck cout<<x actually does

You can always do fprintf instead of that; i almost never do C++ streams for io - there is always a way to avoid them.

Re:Talking to C Programmers about C++ [video] by gravypod on Tuesday September 27, 2016 @11:38AM (#12590399)
I have also never seen a codebase that has used cout piping that was worth any salt.

But then why is it the first thing we shove into peoples faces when teaching them the language?

Re:Talking to C Programmers about C++ [video] by MichaelMoser123 on Saturday October 01, 2016 @05:34AM (#12617186)
i think they want to make an impression: C++ is supposed to be a new language, and not just C with a class system + templates bolted on top of it. i guess streams is supposed to be the new way of doing IO, never mind the circular inheritance mess and virtual function calls for getting new data.