(07-27-2010, 04:40 PM)Bronze Wrote: Hello world examples:
Python:
Code:print 'hello world'
C++
Code:#include <iostream>
using namespace std;
int main()
{
cout << "Hello World\n";
cin.get();
return 0;
}
see what I mean?
That's a little unfair since you made the C++ example unnecessary long.
Code:
#include <iostream>
int main()
{
std::cout << "Hello World\n";
return 0;
}
Now show me how many lines of code it would make to write a memory pool in Python (not that you can, since Python abstracts the memory allocations away from you; I guess you could do it by writing it in C and wrapping Python around it)
The little boat gently drifted across the pond exactly the way a bowling ball wouldn't.