07-17-2013, 08:59 PM
(07-17-2013, 10:27 AM)Thor23 Wrote: Why do I get the feeling that we're having two different conversations? I realize that from a practical perspective, it's better to use specific languages for specific tasks, and that some languages are faster than others - but that's not what I'm talking about. I'm talking about the syntax that's written to do those tasks, the thought that constructs used throughout the different languages are analogous.
So that, from a functionality standpoint,
for(int a=0; a < 10; a++){cout << a << endl;}
is operationally equivalent to
for a in range(10): print a
so there's really no difference between them except for the way they're written.
Yes there is. C++ is compiled, Python is interpreted.