Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Iwod

How many people here know how to program in Delphi??

This topic is 5675 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Delphi is in a really funny situation I really want to learn more about it because It is not as hard to learn as C or C++ It has the Visual part of Visual Basic. And it is properbly more powerful than Basic and faster as well. Although It may be not too poweful compared to C or C++ when programming system levels. And there seems to be less short cut code than C or C++ And the finally thing is not many people uses it. I see the trend that many people start off learning VB first then jump to C or C++. Since Delphi ( or Pascal ) is very simliar to C then should the jump to C be easier?? Or am i too navie to think like that?? And am i right in thinking Delphi is Pascal with OO.....like Delphi is Pascal++???

Share this post


Link to post
Share on other sites
Advertisement
Delphi is a product. It uses a language which is object pascal. It is not just a language. Rather it is a combination of a language, development environment and something called the Visual Component Library (VCL). The development environment and VCL makes it relatively easy to create graphical user interfaces (GUI) for applications. The same is true for Visual Basic and C++ Builder. Object Pascal tends to teach fewer bad habits than Basic. It is a more verbose language than C++. Keeping you from engaging in bad habits means more rules you have to follow which makes it harder to get started. Being verbose it is easier to read, but takes longer to type in. C++ doesn''t let you engage in the bad habits either. If you code in Basic long enough to hang yourself with the bad habits and learn to avoid them then the switch to C++ shouldn''t be that bad. If you switch before that it can be very frustrating and irritating as you are not allowed to do things you are use to doing and forced to do things you are not use to. Switching from Pascal to C++ you lose a few things that made life easier, pick up a few things you couldn''t do before, but for the most part is just substituting words with symbols and other slight changes.

Share this post


Link to post
Share on other sites
you will find that if you look at colleges between the late 1970''s and the late 1990''s, they taught Pascal as the first programming language ... because it was originally designed to be a good learning language ...

Back in the 70''s / 80''s it was not used for very many real world programs, because compiler technology was not advanced enough to make the generic / cross-platform oriented Pascal language compiler into efficient / optimized machine code on particular platforms.

Borland created Turbo Pascal and Turbo C as inexpensive offering for the personal computer ... and with them (either one) you could make great DOS programs, even games - but the C language had much more library support (it''s library model became the de facto standard for all cross-language libraries now). Which is one of the 2 reasons C was considered more REAL than Pascal. The other reason was that Pascal has cetain requirements / rules which are not suitable for developing Hardware drivers, or system level code in (for example creating a Java Virtual Machine in Pascal would never be as efficient as a hand-tuned version in C - because C imposes no real rules on the program, Pascal does.

Borland now makes Delphi, C++ Builder, and J Builder ... each of which is an amazing program for development ... Delphi gets all of the RAD features first, and is definately the most "visual" programming tool on the market. J Builder is a leading Java tool (competing closely with Sun''s own SDK, and IBM''s offerings). C++ Builder has kind of fallen down in comparison, due only to it''s different library format than Microsoft''s completely dominant Visual C++. Since C++ Builder cannot directly incorperate static .libs made by Microsoft''s tools, the can only use libraries which do one of the following: provide source code, release Borland libraries, or ship in .dll form ...

Anyway, back to the subject .. there are many small games made in Delphi still, in fact it was (until the newest version of VB) considered my most to be MUCH better suited for games than VB ... in fact it was considered more of a REAL language by nearly everyone. But it just doesn''t have the enormous support / community that VB does ... because of VB''s market dominance in the buisness market ... there are many more skilled VB developers than Delphi developers ...

So you could be on of the few .. just make sure you are not banking your carrer on being a Delphi guru ... you will find employment opportunities for Delphi are primarily for the Senior level contractor who can come in and make Dephi programs interact with new web services and such ... VB eats Delphi''s market on one side, and Java is destroying it on the other ...

Learn one of these for business: Delphi, Java, Visual Basic, C#
Learn one of these for functionality: python, PERL, php, ruby
Learn one of these for long term development: C, C++, Java

I use C++ and PERL at work, and C++ with python and ruby at home. But I find it would be helpfull to know Delphi or C#, and also to know some Java.

Share this post


Link to post
Share on other sites
It''s almost certainly easier to move to C or C++ from Delphi than VB. You''ve got fixed-length arrays, pointers, etc., plus objects with well-defined interfaces, so it''s fairly equal on the feature front with C++.

You also have very useful facilities like an excellent string type, dynamic arrays, lightning-fast compiles, and a superb IDE, particularly for developing form-based programs.

You''ll learn better coding habits from Delphi than diving into C++, but you''ll be in a better position to progress than starting with VB.

Xai has made some good points.

Share this post


Link to post
Share on other sites
The reason i am always looking at delphi is becuase for is VCL. If i am thinking correctly VCL in Delphi is like creating GUI in VB?? if that is the case I want delphi so i could create something with a GUI more easily. And i always consider VB to be not a good start because i think VB has a lot of different to Pascal/C/C++.

Xai, when you say the lastest version of VB do you mean VB.net?? Well to my knowledge VB.net is totally different to the old VB6...

And something strike me, does C++ Builder has VCL like delphi as well??

And just wondering if there is something that is like Delphi but allow you to code in C?? ( am i asking to much?? )

If delphi is that good then i think i will give it a try.

Share this post


Link to post
Share on other sites
C++ Builder offers functionality similar to Delphi, but as Object Pascal (IMO) is a nice nice language (I used to work with delphi professionally for some years) I wouldn''t consider
using C++ Builder.

Delphi is great when it comes to fast and easy GUI development under Windows and Linux.

So I''d say - go for Delphi first and try C/C++ later.

Share this post


Link to post
Share on other sites
C++ Builder doesn''t really use C++, its more of a hybrid between pascal and C++, or at least it was in older versions. It used the same VCL of delphi, still written in pascal as of version 3 of C++ Builder.

----------
crAzy

Share this post


Link to post
Share on other sites
I use Delphi at college. I dislike writing any amount of code in it, due to it being so verbose compared to some other language I know.

Still, it''s quite a nice language to use, I suppose.

Share this post


Link to post
Share on other sites
Random Trivia:
Delphi was name Delphi due to it being designed for use with databases. A popular database, called Oracle, inspired the designers to call it Delphi, due to the Ancient Greek tradition of going to Delphi to speak to the Oracle.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!