7.0 Conclusion
Python wins over C++ in the following:
- Easy sand clear syntax. For example:
C/C++:
void yoo(int x)
{
if (x == 0) {
broo();
bro();
} else {
ewo(x);
yoo(x - 1);
}
}
Python:
def yoo(x):
if x == 0:
broo()
bro()
else:
ewo(x)
yoo(x - 1)
- Python performs automatic memory management. Which saves from getting many errors that happen in C++ during memory allocation and reference.
- Developing applications in python requires less coding than in C++ by 5-10 times (Van Rossum, G, 1997).
Python has some contributions to C++ by being a tool for testing, gluing components and handling interfaces to test them(Van Rossum, G, 1997). Personally, I think there is a need in all the learning institutions to reform it's approach in programming syllabus. The 5th generation of programming is python and in a world aiming to cope with technology, python is the way. In today's universities languages with rich syntax are a night mare for students and they are often a reason of discontinuing learning programing. Python should be the new C/C++ subject in all the universities. The advantages are huge in the short or long term. The way to proficiency in programming is shorter and beneficial. We believe that the diversity of programming is important and the need for preparing passionate is growing day by day. The way into adoring the beauty of programming will start from Python.
Python wins over C++ in the following:
- Easy sand clear syntax. For example:
C/C++:
void yoo(int x)
{
if (x == 0) {
broo();
bro();
} else {
ewo(x);
yoo(x - 1);
}
}
Python:
def yoo(x):
if x == 0:
broo()
bro()
else:
ewo(x)
yoo(x - 1)
- Python performs automatic memory management. Which saves from getting many errors that happen in C++ during memory allocation and reference.
- Developing applications in python requires less coding than in C++ by 5-10 times (Van Rossum, G, 1997).
Python has some contributions to C++ by being a tool for testing, gluing components and handling interfaces to test them(Van Rossum, G, 1997). Personally, I think there is a need in all the learning institutions to reform it's approach in programming syllabus. The 5th generation of programming is python and in a world aiming to cope with technology, python is the way. In today's universities languages with rich syntax are a night mare for students and they are often a reason of discontinuing learning programing. Python should be the new C/C++ subject in all the universities. The advantages are huge in the short or long term. The way to proficiency in programming is shorter and beneficial. We believe that the diversity of programming is important and the need for preparing passionate is growing day by day. The way into adoring the beauty of programming will start from Python.