SunQuest
           C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

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:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old February 13th, 2003, 12:58 PM
luismg luismg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 18 luismg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Need an advice on choosing a language

Hi everyone,

I would really appreciate an advice from you guys.
I don't have much experience in programming, only web stuff such as html, php, and coldfusion.

Although I'm not planning to program for a living, I'd like to learn a language that could be easy to learn, easy to use but powerful enough for doing complex things if needed.
Lately, I've been playing with Python and I love it, but unfortunately there's no easy way to build a GUI with it and there's no way to create executable stand alone programs.

As far as I know, the c languages (c, c++, c#) are the way to go for "serious" programmers, but I wonder if it's worth the effort to master them. I've read several times that they are not easy to learn and that it takes time to create even the simpliest application with them. Is that true?

How about the so called "RAD" solutions?
Is Delphi easier to learn and use than, say, visual C#?
For someone willing to learn from zero, what's the better choice? Delphi, VB, c#...?

I'd like to know your opinions...
Thanks in advance...

LUIS

Reply With Quote
  #2  
Old February 13th, 2003, 04:48 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
my personal oppinion: if you call coldfusion and html "programming languages", you should go for Visual Basic. (they are no "real" programming languages just as "VB" is not...).

If you want to do serious programming, but go the easy way, learn Delphi - nearly as powerful as C, but as easy as Basic. Available on Windows and Linux, free "personal" version for beginners downloadable on www.borland.com

If you want to do it the hard way, but have the goal to become a "real pro", learn C first, then C++. After you managed this, any other programming language will only be a matter of days to learn...

Anyway, imho you should read a little about OOP theory, it makes learning and reading other languages much easier. OOP is a great concept of "organizing your (and othersī) code".

as said, my personal oppinion, others here probably will disagree.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #3  
Old February 13th, 2003, 05:11 PM
luismg luismg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 18 luismg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks M. Hirsch

Thank you for your reply.
I agree with your opinion and I know the importance of object oriented programming.
As I said above, I've been playing with Python and I see what it means. I also know a little bit of php and its OO capabilities.

My only concern about the Object Pascal language of Delphi is wether it is a good language to learn from zero right now.
I read somewhere that it is from the "age of dinosaurs" (this is what other people say, not what I think cause I don't know it).

Since I'm willing to learn from the ground up a new programing language/environment, do you think it's wise to start with an old language such as O.Pascal/Delphi instead of following the trends with .Net, C# and/or the other .net languages?

I know that Delphi 7 is compatible with .Net but is this compatibility reliable?
And finaly, can I trust in Borland's future support for Delphi?

Reply With Quote
  #4  
Old February 13th, 2003, 05:21 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
for trusting borlandīs future and reliability: definitively yes. i would even say: "borlandīs future is more secured than microsoftīs or .netīs".

object pascal is not a dinosaur language. C / C++ are much older - pascal was invented much later
from what i know about the history:
C was developed for programming unix. This was about 30 (maybe 40?) years ago.
pascal was originally developed as a "learning language" being easier to understand than C, but has evolved since then to be nearly equal to C (and sometimes just as confusing... )
You should not make your choice depend on the age of the language, but its power and ease of learning...

pascal and C are not that different. if you are good at one, itīll take you only some days to convert to the other.

Also i can supply you with dozens of good delphi and C resources, but youīll probably find 1000 more on google...

imho knowledge of the libraries makes a big part of being a good programmer. but they are exactly the same on C compared to Delphi...

Last edited by M.Hirsch : February 13th, 2003 at 05:24 PM.

Reply With Quote
  #5  
Old February 15th, 2003, 06:08 PM
luismg luismg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 18 luismg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
One more question...

Thanks again M. Hirsch for your detailed replies.
There's only one doubt remaining...

Many people, like you, consider Delphi an easier tool than C (or C++, C#).
Is it easier because of its language (O. Pascal), or because of its graphical IDE?
I'm asking this because as you said above "pascal and C are not that different. if you are good at one, itīll take you only some days to convert to the other."

Then, again, if C and Pascal are similar, and since C# can be used with Visual Studio, is there really an advantage in choosing Delphi for a beginner?

How much easier is Delphi compared to Visual C#?

Reply With Quote
  #6  
Old February 16th, 2003, 03:09 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Itīs not the IDE. Delphi, Visual Studio, BC++ and most other compilers come with a very similar IDE.

I personally consider pascal easier to learn for beginners. It is not as cryptic as C and in the beginning, you donīt have to care about pointers. Delphi will do that for you. (in more advanced programming you will have to too, but then you are on the level where you just as well could use C...)
C code is case sensitive, pascal is not. Also in pascal you have less brackets which makes it imho easier to read for beginners . an example, the both programs do exactly the same task (and you should see why it is so easy to convert between them):
Code:
// C code
int i;
int main() {
   for (i=0;i<100;i++) {
      printf("Line number: %d\n", i);
   }
   return 0;
}
// Pascal code

function main: Integer;
var i:Integer;
begin
  for i:=0 to 99 do begin
    WriteLn("Line number: ",i);
  end;
  Result:=0;
end;

Now decide yourself which one you like better...

Delphi and C++ Builder abstact the WinAPI using Borlandīs class library ("VCL"), in Visual Studio C++ you would use "Microsoft Foundation Classes" (MFC). In C# itīs the .NET class library.

But C# is a little bit of another story: If you know C#, you can use the same classes in all .NET languages, so changing to J#, ASP.NET, Delphi.Net, ... should be easy then (never tried any of these).

Last edited by M.Hirsch : February 16th, 2003 at 03:13 AM.

Reply With Quote
  #7  
Old February 16th, 2003, 08:43 AM
luismg luismg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 18 luismg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Everything clear now

So I guess it all comes down to personal preferences regarding the sintax of each language.
Although I see Delphi's Pascal is easier to write and read, C is more similar to PHP.

Well, since a hate curly brackets, I'll give Delphi a try...
Meanwhile, I'll also try peek some other .NET languages to see if there's something better for me there.

Thanks again for your enlightening explanations!
So long,
LUIS

Reply With Quote
  #8  
Old February 24th, 2003, 12:34 AM
ahuimanu ahuimanu is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Right Coast
Posts: 25 ahuimanu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 34 sec
Reputation Power: 0
so so true

Quote:
Originally posted by M.Hirsch

If you want to do it the hard way, but have the goal to become a "real pro", learn C first, then C++. After you managed this, any other programming language will only be a matter of days to learn...


so so true!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > Need an advice on choosing a language


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway