|
Why was there no mention of straight-vanilla C++?
I use MSVC as a compiler/IDE, but have absolutely no interest
in MFC/ATL/WTL/etc. Can we try to keep an area for those
who plan on righting code that will work as well on Linux as
on a Win32 box?
Thanks a bunch.
|
|
|
|
|
I presume you're saying code is 'righted' when it works cross platform ?
I personally strive to use standard C++ where-ever possible, although I'd rather write a great Windows program than a program that could have been better if I'd not been worried about the 5 people worldwide using Linux ( now *there's* a troll, if ever I wrote one ) ?
Actually, the main reason I replied was to point out that this issue has already been discussed below.
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
>> about the 5 people worldwide using Linux ( now *there's* a troll, if ever I wrote one )
ROFL
Chris
Let me get the fire extinguisher ready to go for this one!
|
|
|
|
|
Well, maybe 'righted' is a tad off from what I meant, but it's getting to the point. I get a little frustrated when I see very interesting projects posted here, and elsewhere, that claim to be written in 'C++'. What usually happens is that the person meant is that it's written 'in MSVC, with the MFC library'.
In my mind, this is about as useful as me writing a program in C++, and stating such, and then inform the user after they've downloaded it that they also need Ilog Views, or Trolltech QT, or any other.
|
|
|
|
|
I guess it comes down to how pedantic one is. This web site is obviously dedicated to Windows development, and as such I would say most of the code here uses MFC/ATL &tc. Just a glance through the contents bar would confirm this. I'm at a loss to uderstand why we, as Windows developers, wouldn't use the tools provided to make developing for this platform easier. I am currently looking for ways to write cross platform code for the next version of our main product ( i.e. wxWindows ), but I'll still milk all the technologies like GDI+ to their full potential when I write for Windows - to ignore them in favour of he-man coding would be futile and puerile.
I am quite active on the C++ newgroup, where Standard C++ is discussed. This is a place where C++ is discussed in relation to Windows development. If there are more sites like this for Windows developers than your own choice of OS, that reflects the popularity of your choice. This does not make your choice bad, only unpopular. I cannot help that, and it's a bit immature to blame us for the state of affairs between the two. But IMHO maturity is left at the door when people don't have the guts to put a name to their posts anyhow.
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
I prefer to use Trolltech's QT API. Mostly because I do linux programming. It's well thought out, fairly simple, and easy to use. But on windows I do use vc++.
|
|
|
|
|
Is that a cross platform GUI toolkit ? I'm looking into wxWindows at the moment.
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
Have a look at FOX : http://www.cfdrc.com/FOX/fox.html
I use it to develop on windows and linux and I think it's pretty good.
Arnaud
|
|
|
|
|
|
No, I haven't, but unless it's Mac as well, it's not really of use to us. I don't forsee a great Unix explosion in our software, but we get a *lot* of Mac enquiries.
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
It's available for windows but ya gotta pay for it. It's free for most linux development I think.
Josh
josh@schroff.com
|
|
|
|
|
Yes, that right. I actually wanted to run Avidus, which needs the Qt libraries, but since I'm kind of tied to Win32, I can't - I'm not going to pay $1500 for Qt on Win for that. I tried to port Qt to cygwin, but no luck, so far. So next thing to try is to port the Avidus gui to wxPython. Fun and Games.
Ron
|
|
|
|
|
Please, no fuss
But, as this page is mainly about Window programming, and mainly about MS Visual Studio, chances are that most people coming here are working with VC++ and/or VB... And as most articles here are about C/C++ programming, chances are that VC++ get the most votes
(BTW, I did vote for VC++ and VB6, so no big surprise...)
Laotseu
Laotseu@fr.st
|
|
|
|
|
|
Yep - Visual C++ will get the most votes, but I wanted to find out about the other languages people are using. It's cool to see so many using Delphi and Java, and also interesting to see that C# and managed C++ are definitely on peoples minds.
We all knew who would win - I just wanted to know by how much
cheers,
Chris Maunder
|
|
|
|
|
Actually I am interested to see that 'C' has almost as many votes as C#. I wonder what proportion of votes assumed C means C++ ? Also Java is close to C#. I am frankly surprised to see C# doing so badly. Many there is hope after all
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
I voted for plain C. The code base i am working on is more then fifteen years old. Approximately 70 percent of our code is ANSI C or Win32 C, the rest is C++ (MFC). Actually there is a good deal of OS/2 code left and running quite well.
Never run a changing system
|
|
|
|
|
*grin* I'm sure there are a number of people working on legacy systems, but I'm surprised to think there would be as many as there are people looking to use C#. The absence of a C++ option makes me think a proportion of the voters voted thinking of C++ rather than plain old C.
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
I voted for Python and Java.
I actually don't like C++ all that much. One thing I'll give MSVC++ and Borland C++ is that the IDEs are brilliant for debugging. They have to be...
Ron
|
|
|
|
|
That's precisely why checkboxes were used for multiple choices since a mutually exclusive choices would end up with VC++ getting about 95% of the votes.
|
|
|
|
|
*any* survey is a survey of a particular demographic. I didn't see it suggested anywhere that this was a snapshot of what languages are used over the whole wide world. Apart from being a bit of fun, it's an idea of what, apart from VC++, people who use this site expect to be using soon. I would hope most people here would not be so silly as to use VB if they know VC++...
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
I would hope most people here would not be so silly as to use VB if they know VC++
No - they'd use C# instead
cheers,
Chris Maunder
|
|
|
|
|
Apparently they are equally likely to use C# or plain old C
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
And, er... What about VisualCobol.NET ?-)
Laotseu
Laotseu@fr.st
|
|
|
|
|
I dont know about everyone else out there, but I try to use
an 'appropriate' language for whatever task I'm doing, and that
'appropriate' qualifier is a decision I make based on my knowledge,
familiarity and experience. For example I would rather NOT write an
NT service using VB6, although Im aware you can make it happen - my
preferred choice here is 'C++', and for a basic service, the ATL generated
service is ok .. I would rather not have to 'bend' a language
too much to make something happen, either ..
I dont nor ever will believe that there is one perfect
language that will do everything or mean the same to everybody.
The vast differences in the way we all understand and interpret
things precludes this.
What does matter, is that people who are informed and knowledgeable
in a particular language, help others learn and understand
the good/bad points of a language, hopefully like we do here at
CodeProject.
(this is my personal opinion ONLY - wether or not other people agree
etc is largely irrelevant to me)
|
|
|
|