![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Programming Guru
![]() ![]() ![]() |
Another reason is, educational institutions are more likely to have a class on C++ and not Python. Generating more students, which generate more occurences of encountered problems in C++
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#12 | |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Quote:
|
|
|
|
|
|
|
#13 |
|
Programming Guru
![]() |
Wow the only non-help thread on this page about Python and it turns into a C++ topic. lol
|
|
|
|
|
|
#14 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
Yes, Cerulean, Linux is written in C/C++. C/C++ means C or C++, and Linux is written in C.
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials. --WilliamSChips on Slashdot |
|
|
|
|
|
#15 | |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Quote:
|
|
|
|
|
|
|
#16 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
No problem :-)
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials. --WilliamSChips on Slashdot |
|
|
|
|
|
#17 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
C and C++ are not the same language!!!
I am offended to have C thrown in with C++, the beast! There are plenty of Python 'few-liners' that would fill dozens of code pages in C++!
__________________
I looked it up on the Intergnats! |
|
|
|
|
|
#18 |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
You're not serious, right? My goodness, the re-usability of C++ is precisely what stops these thousand of C lines. I mean, associative arrays, linked lists, string classes... You have to get an external library or implement these yourself in C. Fun.
Extending Python in C is horrible because there is no easy way you can show the relationship between C data types and Python objects - you have to marshal everything with a bunch of pointers and cryptic functions yourself. There are C++ libraries (Boost: ython, PyCXX) that, through operator overloading and inheritance, make Python objects usable almost transparently like C++ types/objects. |
|
|
|
|
|
#19 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
Oops! All I am saying seriously is:
Don't give me that C/C++ thing. C and C++ are not the same language!!! Because of OOP, STL, and all the other advanced programming concepts C++ has real power, but C++ code is considerably more cryptic than C. C code in turn is more cryptic than Python code. Yes, because of C++ I can actually enjoy Python. I know my motor car has oil in it to run faster, just keep it off me!
__________________
I looked it up on the Intergnats! Last edited by Dietrich; Jul 7th, 2005 at 8:06 AM. |
|
|
|
|
|
#20 | |
|
Programmer
Join Date: Dec 2004
Location: UK
Posts: 53
Rep Power: 4
![]() |
Quote:
__________________
Tetris is so unrealistic |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|