Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 6th, 2005, 2:49 PM   #11
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
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."
Infinite Recursion is offline   Reply With Quote
Old Jul 6th, 2005, 3:29 PM   #12
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
Quote:
Windows, Linux, MSOffice
*scratches head*
Cerulean is offline   Reply With Quote
Old Jul 6th, 2005, 5:08 PM   #13
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,885
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Wow the only non-help thread on this page about Python and it turns into a C++ topic. lol
Sane is online now   Reply With Quote
Old Jul 6th, 2005, 5:14 PM   #14
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
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
uman is offline   Reply With Quote
Old Jul 6th, 2005, 9:05 PM   #15
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
Quote:
Yes, Cerulean, Linux is written in C/C++. C/C++ means C or C++, and Linux is written in C.
Heh, didn't see the 'C/' part first time 'round.
Cerulean is offline   Reply With Quote
Old Jul 6th, 2005, 9:09 PM   #16
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
No problem :-)
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials.
--WilliamSChips on Slashdot
uman is offline   Reply With Quote
Old Jul 6th, 2005, 9:44 PM   #17
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Talking

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!
Dietrich is offline   Reply With Quote
Old Jul 7th, 2005, 5:06 AM   #18
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
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.
Cerulean is offline   Reply With Quote
Old Jul 7th, 2005, 7:51 AM   #19
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Talking

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.
Dietrich is offline   Reply With Quote
Old Jul 18th, 2005, 12:31 PM   #20
megamind5005
Programmer
 
megamind5005's Avatar
 
Join Date: Dec 2004
Location: UK
Posts: 53
Rep Power: 4 megamind5005 is on a distinguished road
Quote:
Originally Posted by Dietrich
I know my motor car has oil in it to run faster, just keep it off me!
wow, that's a frickin' good analogy! My physics teacher wud adopt u as a son if he ever found u.
__________________
Tetris is so unrealistic
megamind5005 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:41 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC