Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Oct 23rd, 2005, 7:14 AM   #11
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
You seem to be a fast learner. You dumped the crappy orange text right away .
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Oct 23rd, 2005, 7:33 AM   #12
Gunman
Programmer
 
Gunman's Avatar
 
Join Date: Oct 2005
Posts: 56
Rep Power: 3 Gunman is on a distinguished road
haha..just was trying it out ..=)
Gunman is offline   Reply With Quote
Old Oct 23rd, 2005, 12:44 PM   #13
Mjordan2nd
The Supreme Ruler
 
Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6 Mjordan2nd is on a distinguished road
I haven't done much with Python, but most people say Python's a great language to start with. Java is good too; if you want to learn C++, Java's syntax is pretty similar to that of C++s, but it's a bit more simplified.
__________________
"Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children." - Dwight D. Eisenhower
Mjordan2nd is offline   Reply With Quote
Old Oct 23rd, 2005, 5:38 PM   #14
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
A lot of people seem to be asking which programming language is best to learn first. Python, Java or C# are good choices to learn first. Then you can go for any other language after that.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old Oct 23rd, 2005, 6:01 PM   #15
aznluvsmc
Hobbyist Programmer
 
Join Date: Aug 2005
Posts: 137
Rep Power: 3 aznluvsmc is on a distinguished road
I found learning C first really helps in learning C++ later on since it's built on the language. Learning C helps build very good programming habits and many other languages (ie: Perl) resemble C syntax so it will make syntax learning come quickly.
aznluvsmc is offline   Reply With Quote
Old Oct 23rd, 2005, 6:11 PM   #16
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
I could question the previous post. Instead I'll just challenge you to write some small program in C that can't be written as simply, and with the same level of knowledge, in C++.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Oct 23rd, 2005, 9:29 PM   #17
aznluvsmc
Hobbyist Programmer
 
Join Date: Aug 2005
Posts: 137
Rep Power: 3 aznluvsmc is on a distinguished road
Quote:
Originally Posted by DaWei
I could question the previous post. Instead I'll just challenge you to write some small program in C that can't be written as simply, and with the same level of knowledge, in C++.
I'm only speaking from my personal experience. C was the first language I learned indepth and it helped me approach programming problems in a more structured manner in other languages I'm learning such as Perl and CLLE (iSeries development) because I got into the habit of modularizing my programs. If this is not a good thing, then I don't know what is. I'm currently learning C++ right now and feel the knowledge of C really helped the transition to object oriented programming. If you guys learned to program using other languages first and found that to be good then by all means give that suggestion. I'm not here to knock anyone because of what language they think is the best to learn first. Everybody has an opinion.
aznluvsmc is offline   Reply With Quote
Old Oct 23rd, 2005, 9:33 PM   #18
Silvanus
Hobbyist Programmer
 
Silvanus's Avatar
 
Join Date: Aug 2005
Location: Hiding from... them...
Posts: 110
Rep Power: 3 Silvanus is on a distinguished road
I'll second (or third, or whatever) the python recommendations. It rocks, plain and simple. Learn it.
Silvanus is offline   Reply With Quote
Old Oct 24th, 2005, 7:07 AM   #19
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
This question comes up a LOT, so I want to pursue this one aspect of it (C vs C++). Please don't presume that it's picking on you. You have put forth a position I fail to understand, so it's your job to explain a bit.

It's easy to understand why people recommend Python or PHP or something else. The languages are different. I also realize that you think your learning of C, first, was beneficial.

Instead of challenging you, I'll attempt to get an answer in a different way. What did you learn in C, that was so beneficial, that you couldn't have learned in C++, with the same effort?

That's a germane question, and addresses the OP's concerns. Obviously, I personally didn't learn C++ first. It didn't exist. I can't be saying, "I did it, and it worked for me." I'm saying what you need to learn is as easily learned in C++ as it is in C. One of my reasons for saying that is that C++ is very nearly (not quite) a superset of C. What you learned in C is mostly available for learning in C++, in exactly the same way. I'm trying to get you to explain, for everyone's benefit, why that isn't so.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Oct 24th, 2005, 3:20 PM   #20
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
Quote:
Originally Posted by DaWei
Obviously, I personally didn't learn C++ first. It didn't exist. I can't be saying, "I did it, and it worked for me." I'm saying what you need to learn is as easily learned in C++ as it is in C. One of my reasons for saying that is that C++ is very nearly (not quite) a superset of C. What you learned in C is mostly available for learning in C++, in exactly the same way. I'm trying to get you to explain, for everyone's benefit, why that isn't so.
Haha David, you can't even say you learned C first because it didn't exist. Did FORTRAN exist when you began?

To get back to the point, I don't see the benefit of learning C first either. Learn Python, Java or C# for good programming habits. You must understand that C is not even OO, which you will find very handy when developing large programs. Most programming languages are designed for a purpose, find out what your needs are or what you want, and go for the language that meets those needs.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion 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 1:53 AM.

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