views:

264

answers:

8

My friends have to build a program whitch contain some forms ...they have to choose between VC++ and Delphi but many people said that VC++ is not a good place to build Winforms applications so is this true ?
My friend are beginners and they only Know few things in C++ and Delphi so what is the best choice ?

Edit : this is a university program and c# and other languages aren't allowed.

+2  A: 

C# is a good choice for Winforms applications.

Delphi might be easier (and therefore better for beginners) than VC++, but it's less commonly used commercially (so fewer jobs using it). It's often chosen by self-employed developers.

ChrisW
+3  A: 

Delphi is a nice language to learn programming, as the syntax is clear and you can achieve first results very fast. However, Delphi's future seems unclear, so if you want to learn a language with the hope of using it in your career, better go for something else. If you can't use neither Java nor c#, I'd vote for C++ with QT.

fschmitt
Everyone's future is unclear, isn't it?
Cosmin Prund
C++ is an open standard and there are compilers and tools from different companies as well as a complete open source chain. So you can be quite confident, that there will be good support for C++ in the future. Delphi is the child of only one company (Borland, than Codegear, now Embarcadero) and therefore much more vulnerable.
fschmitt
I must admit I'm very biased towards commercial software development (the kind that pays the bills). Open source is irrelevant in this domain, and source-level compatibility between vendors is not exactly there, because there's more to C++ then just the language: you need the libraries. No matter what choice you make, you're going to choose one vendor and hope it lives long enough.
Cosmin Prund
I can just tell you, that open source tools (gcc, cmake, mercurial, valgrind to name a few) help pay my bills and those of my co-workers just fine.
fschmitt
+1  A: 

If I had to choose between Delphi and C++, I'd certainly go for Delphi because you plan to build an WinForms UI

Now if you mention C++, I guess you envisage visual studio (express edition?) and in that case I'd go for C#

The father of C# is also the father of Delphi, you'll find many similarities between the 2 languages

vc 74
+6  A: 

There are a few possible strategies, depending on your friend's interest and career options.

  • Case 1: Your firends have no interest in computer science, they just need to get this assignment over with: Choose Delphi, it's easier to swallow.
  • Case 2: They want to learn something they might use in the future, but no serious programmer prospect: Do it with Delphi! While Delphi is very expensive, it's closer to C#, and the casual future programming is likely going to be done using C#
  • Case 3: Serious programmer prospects: Do it with C++, even if you really like Delphi. C++ is very unlikely going to be "the future" of commercial software development but any self-respecting programmer should learn it. Even better, do it with both C++ and Delphi.

Now if this were about "what tool should I buy for MY software startup" that's easy. If you have a choice go with Delphi.

Cosmin Prund
A: 

I would go for VC++ mainly because it's more mainstream. Delphi is easy/nice has a little bit awkward syntax and are not as popular (Can be difficult to find IDE/books/resources).

Delphi: easy and productive, peaked among programmer popularity long time ago VC++: steep learning curve, more mainstream

But in the end it really doesn't matter, what's important is that you code and have fun. Whichever you choose you will learn tons that will benefit you in your future career. Good luck!

Andreas Johansson
Delphi has awkward syntax??? Never heard that one before. I guess it doesn't have the elegance of Perl nor the nice layout of Python...
Cosmin Prund
Also ask why there's no contest to write obfuscated code in Delphi ;)
ldsandon
@Idsandon - I'm actually surprised that anyone saw a need to for an obfuscated C contest - isn't all C obfuscated? (OK not as bad as Perl)
Gerry
+13  A: 

I recommend that you use Delphi, is very easy to learn and you can do amazing things in a small time, is incredibly productive, has a very well designed Visual library (VCL) and has a very fast compiler wich produces standalone executables (without dependences).

There are many known applications developed in Delphi like Skype (Windows Client), Toad, Fl Studio. also has a very active community, there are also thousands of third-party components that you can use in your applications, once you start using delphi never coming back.

about the subject of the work is true that demand is less than those provided for C# or C++, but if you become a good Delphi programmer never have trouble finding a job.

RRUZ
I completely agree. I had to take a few C++ and Visual C++ courses in college and while it was good to learn, I wish I would've had the opportunity to formally take a Delphi course in college.
Mick
And if C++ is an option, and thats what you know, C++ Builder is great as well.
gbrandt
A: 

Why not C++ Builder? Delphi is Pascal.

Mike Versteeg
“Delphi is Pascal” – (1) So what? (2) Wine is grape seeds. Well actually, no: one developed from the other.
Konrad Rudolph
A: 

There is the option of using C++ with Visual Studio (the editor is great and comfortable, but I don't know Delphi) with the Qt library.

Qt is great and easy to get started with. The API is so clean that you could eat on it.

Alexandre C.