Software Design
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreSoftware Design

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 2nd, 2004, 04:09 AM
CodeGod CodeGod is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 77 CodeGod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 57 sec
Reputation Power: 5
C++ or Visual Basic?

Hello all,

I need your valuable suggestions.
Actually, I have to choose one language to learn and will develop software using that in future. One option is to learn C++ and the other is Visual Basic.

I want you to suggest me which one should I learn? I'm really confused since I dont know what is the difference between both of them.

Another thing, when you please suggest me a language please also give atleast one reason for which you think your preferable language is better than the other.

Thank you!

Reply With Quote
  #2  
Old July 2nd, 2004, 11:55 AM
NoTaBeNe NoTaBeNe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 69 NoTaBeNe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 15 h 31 m 52 sec
Reputation Power: 5
If you want to become professional programmer and develop applications which are fast, require less resources, and can access System level, choose C++;

I you want to develop smaller applications quickly, but not so fast and requiring more resources, also bound to windows OS, and you have no need to access System level, choose VB.

Generally, C++ is much more powerful, than VB, but also a little difficult to learn.

And you can also learn Pascal(FreePascal, ObjectPascal/Delphi) which is between C++ and VB with its charachteristics.

And, the main thing is, you should choose programming language depending on task you have. this is golden rule.

Reply With Quote
  #3  
Old July 2nd, 2004, 01:58 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,225 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 48 m 15 sec
Reputation Power: 174
Quote:
Originally Posted by CodeGod
Hello all,

I need your valuable suggestions.
Actually, I have to choose one language to learn and will develop software using that in future. One option is to learn C++ and the other is Visual Basic.

I want you to suggest me which one should I learn? I'm really confused since I dont know what is the difference between both of them.

Another thing, when you please suggest me a language please also give atleast one reason for which you think your preferable language is better than the other.

Thank you!



None of the above. Choose Java.
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever.
Analyze twice; hack once.
The world's first existential ITIL question: If a change is released into production without a ticket to track it,
was it actually released?


About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect -
Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire


Reply With Quote
  #4  
Old July 2nd, 2004, 02:11 PM
NoTaBeNe NoTaBeNe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 69 NoTaBeNe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 15 h 31 m 52 sec
Reputation Power: 5
drgroove
wrong suggestion!
client applications in java are terrible! java is very good in server-side...

Reply With Quote
  #5  
Old July 2nd, 2004, 02:12 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,225 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 48 m 15 sec
Reputation Power: 174
Quote:
Originally Posted by NoTaBeNe
drgroove
wrong suggestion!
client applications in java are terrible! java is very good in server-side...


Well written client applications in Java work just as well as well written client apps in C++. Ever use Eclipse?

Reply With Quote
  #6  
Old July 2nd, 2004, 02:24 PM
NoTaBeNe NoTaBeNe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 69 NoTaBeNe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 15 h 31 m 52 sec
Reputation Power: 5
drgroove
Quote:
Well written client applications in Java work just as well as well written client apps in C++. Ever use Eclipse?

wrong again!
client apps which are depending on Virtual Machine just CANT BE as fast and as good as written in C++. Nothing to say, C++ produces applications with best performance at all (except assembler).

another important issua is that java is for other goals, for network programming and is not such powerful as C++!

this is just as 2X2.

I very appreciate java, and it has of course many advantages agains c++, but not in client application programming...

Reply With Quote
  #7  
Old July 2nd, 2004, 02:28 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,225 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 48 m 15 sec
Reputation Power: 174
What little performance degredation your app experiences is a fair trade for the ability to use that same application on any operating system. I guess it depends on what kind of application you're creating, and what your expectations of it are. I'm willing to trade an almost negligible performance hit for portability any day.

Reply With Quote
  #8  
Old July 2nd, 2004, 02:30 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,225 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 48 m 15 sec
Reputation Power: 174
Moved to Software Design

Reply With Quote
  #9  
Old July 2nd, 2004, 03:09 PM
Adrastea0413's Avatar
Adrastea0413 Adrastea0413 is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Dec 2003
Location: Washington, DC Metro
Posts: 1,742 Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 4 Days 20 h 28 m 9 sec
Reputation Power: 804
Facebook
Quote:
Originally Posted by drgroove
What little performance degredation your app experiences is a fair trade for the ability to use that same application on any operating system. I guess it depends on what kind of application you're creating, and what your expectations of it are. I'm willing to trade an almost negligible performance hit for portability any day.


You're willing to trade that negligible performance hit, but are your customers?

I use Java a LOT, and I know exactly where you are coming from with the portability advantages. But I must agree with that NoTaBeNe fellow and say that when it comes to pleasing a customer, sometimes our own advantages/disadvantages take lesser priority than theirs.

Reply With Quote
  #10  
Old July 2nd, 2004, 06:01 PM
CodeGod CodeGod is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 77 CodeGod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 57 sec
Reputation Power: 5
Thank you very much all. I think I should follow the suggestion of NoTaBeNe.
NoTaBeNe I am interested in development of database related software and socket based applications development. I dont intend to develop software out of these two selections.

So keeping these two DB Applications and Socket Based Applications in mind what do you suggest me to choose? C++ or VB?

I have used VB few times and I like it but I wish to leave VB and go for C++ but the lengthy code which I have seen of few open source projects really scares me. I lack confidence that I can learn C++

Thanks once again!

Reply With Quote
  #11  
Old July 2nd, 2004, 06:43 PM
haym37 haym37 is offline
Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 39 haym37 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 27 m 8 sec
Reputation Power: 0
Starting out learning C++ isn't going to be easy. I'd start with learning Java, since Java is basically a simplified version of C/C++, then learn C, then C++. After knowing Java, it should be pretty easy to learn C and C++. And Java isn't very hard to learn.

Reply With Quote
  #12  
Old July 2nd, 2004, 06:50 PM
Adrastea0413's Avatar
Adrastea0413 Adrastea0413 is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Dec 2003
Location: Washington, DC Metro
Posts: 1,742 Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level)Adrastea0413 User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 4 Days 20 h 28 m 9 sec
Reputation Power: 804
Facebook
Quote:
Originally Posted by haym37
Starting out learning C++ isn't going to be easy. I'd start with learning Java, since Java is basically a simplified version of C/C++, then learn C, then C++. After knowing Java, it should be pretty easy to learn C and C++. And Java isn't very hard to learn.


I agree that Java should be the first step, but why C? I mean, if you are going to do OOP programming in C++, it would make sense to learn Java and carry those OOP skills over. But C is just a procedural language...

I would put C and Java on the same level as starting points, depending on if you are doing OOP programming in C++ (learn with Java) or just procedural programming (learn with C)...

But I do agree with you that starting out in C++ is going to be difficult and some learning step should come first.

Reply With Quote
  #13  
Old July 2nd, 2004, 06:56 PM
haym37 haym37 is offline
Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 39 haym37 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 27 m 8 sec
Reputation Power: 0
C++ is pretty similar to C. C is easier. So, you should learn C before C++. And just because C++ is newer than C, doesn't mean that it's better. Even though, it probably is (depending on what you need to do) C can be pretty useful too.

Reply With Quote
  #14  
Old July 3rd, 2004, 12:28 AM
Zaehne Zaehne is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 32 Zaehne User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Quote:
Originally Posted by NoTaBeNe
And, the main thing is, you should choose programming language depending on task you have. this is golden rule.


Amen

Reply With Quote
  #15  
Old July 3rd, 2004, 05:54 AM
NoTaBeNe NoTaBeNe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 69 NoTaBeNe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 15 h 31 m 52 sec
Reputation Power: 5
CodeGod
Both C++ and VB can DB and Sockets. But I would advice you to choose C++. Although it is not very easy for learning, but in long-term view you will get more advantages. If you choose VB, it is pretty possible you will have to change to C++ at some point, when VB's possibilities will not satisfy you anymore.

For rapid development, Borland c++ builder is good choice as IDE.

Reply With Quote