<div dir="ltr"><br><div class="gmail_quote">On Sat, Feb 25, 2012 at 12:20, "Martin v. Löwis" <span dir="ltr"><<a href="mailto:martin@v.loewis.de">martin@v.loewis.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> I find that strange, especially for an expert Python dev. I, a newbie,<br>
> find it far friendlier (and easier for a new programmer to grasp).<br>
> Maybe it's because I use it all the time, and you don't?<br>
<br>
</div>That is most likely the case. You learn by practice. For that very<br>
reason, the claim "and easier for a new programmer to grasp" is<br>
difficult to prove. It was easier for *you*, since you started using<br>
it, and then kept using it. I don't recall any particular obstacles<br>
learning % formatting (even though I did for C, not for C++).<br>
Generalizing that it is *easier* is invalid: you just didn't try<br>
learning that instead first, and now you can't go back in a state<br>
where either are new to you.<br>
<br>
C++ is very similar here: they also introduced a new way of output<br>
(iostreams, and << overloading). I used that for a couple of years,<br>
primarily because people said that printf is "bad" and "not object-<br>
oriented". I then recognized that there is nothing wrong with printf<br>
per so, and would avoid std::cout in C++ these days, in favor of<br>
std::printf (yes, I know that it does have an issue with type safety).<br></blockquote></div><br>Not to mention that the performance of iostreams is pretty bad, to the extent that some projects actively discourage using them in favor of either C-style IO (fgets, printf, etc.) or custom IO implementations. This is marginally off-topic, although it does show that an initial thought of deprecating an existing functionality for new one doesn't always work out in the long run, even for super-popular languages like C++.<br>
<br>Eli<br><br></div>