Re: To C or not to C?

From: Ginny Caughey [MVP] (ginny.caughey.online_at_wasteworks.com)
Date: 07/07/04


Date: Tue, 6 Jul 2004 21:59:50 -0400

Judd,

There's nothing wrong with your question, so don't expect flames here. ;-)
But the nature of the app you plan to create and your own previous
programming experience and preferences are important. Unless you are writing
devices drivers (which require C++) there really is no one correct answer.

I can give you some pros and cons for several Microsoft languages (and no
doubt others will fill in some gaps) but the final choice will have to be
yours since only you know what's most important to you.

eVB - easy to use but now obsolete. You can use it with current Windows
Mobile projects (and it's free), but it won't work with future Windows
Mobile devices.

eVC++ - if you can't do something with this tool (which is also free for
now), then it can't be done on Windows CE. It gives you the fastest apps and
the absolute most control, but it takes most of us longer to work in C++
than in other languages.

VB.Net or C# - although the languages are syntactically different, they are
functionally very similar. With VB.Net it's easier to avoid strong typing
(not usually a good idea), but with C# you can use pointers if you need them
(which you probably won't). They both use the Compact Framework and have a
growing following of free code such as the Smart Device Framework at
www.opennetcf.org. You can use either language from Visual Studio 2003 Pro
(or higher), which is the most productive development environment compared
with eVB and eVC++.

The desktop interface really makes no difference at all, since you can use
absolutely any Windows dev tool to create it that can make API calls. You
use the Remote API (Rapi) to communicate with the device, create files and
folders, copy or delete files, modify the device registry, launch apps,
etc., all from the desktop.

-- 
Ginny Caughey
.Net Compact Framework MVP
"Judd Bagley" <JuddBagley@discussions.microsoft.com> wrote in message
news:4B8FB08E-BD28-432B-8948-DA59EBF76D6C@microsoft.com...
> Before I'm admonished to RtFF or otherwise flamed, please know that I've
made a VERY GOOD effort to avoid having to post this question.
>
> Let me make clear that I'm parachuting into this territory and, while I'm
worthy of being called a power user, I've never developed for any device and
thus have very little sense of context or understanding of terms of art or
other colloquialisms. So dumb it down a notch, please.
>
> That said, all I need to know is where to get good OBJECTIVE advice on
choosing a programming language for the application I'm going to develop
(and you will all eventually buy) for WM devices. In my many readings, I've
found developers to be more zealous about their preferred language than many
people are about their chosen religion, and that they see the universe
through that frame of reference.
>
> On the other end of the spectrum, Microsoft's publications seem to promise
that EVERY option is a good one, in its own way.
>
> Therefore, I am offering no clue as to the nature of the project, only
that I have one and need help making a decision.
>
> I will say this: the application will require a robust desktop interface -
assuming that makes a difference.
>
> Please don't flame. Just a link or two would be great.
>
> Thanks!
>


Relevant Pages

  • Re: What programming language is the most widely used to make viruses?
    ... >Windows, but not Apple Mac or X Windows, tends to encourage object oriented ... >a woody for some new programming paradigm. ... variety of languages and APIs and then pick the best bits of each. ... I've never quite got the hang of templates. ...
    (comp.programming)
  • Re: Threading in VB
    ... Which is another reason that runtime languages are so popular and portable. ... Disputing programming philosophy, what have I become? ... those apps would run unchanged on Windows. ... I've never downloaded a single java ...
    (microsoft.public.vb.general.discussion)
  • Re: Flame Bait! Windows vs: The Unices
    ... That's the Joy of Programming, ... Do you have any idea how many person-hours went into the apps we're ... Or is it, perhaps the case, that Windows ... just meets business users' needs much better? ...
    (comp.programming)
  • Re: Book suggestion - Visual C++ 2005
    ... maybe they cover the basics of the language and further I will have to buy another book specifically for Windows. ... programming in languages that are translated into native binary code for given platform. ... I reckon that most of them use some kind of C++ library/framework in everyday job instead of direct programing against Windows API. ...
    (microsoft.public.vc.language)
  • Re: Flame Bait! Windows vs: The Unices
    ... That's the Joy of Programming, ... > Do you have any idea how many person-hours went into the apps we're ... If Unix replaced Windows, ... >> For me, and for many others, Linux meets our needs perfectly well. ...
    (comp.programming)

Loading