473,513 Members | 2,492 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

language selection on day one

Hello,

Background:
I am familiar with VB.NET, vanilla C++, and Pascal but not Csharp.

Please confirm/comment:
If I want to get a windows application running quickly (and minimize
total effort), and have the eventual goal of porting back to MFC (that
is, no .NET requirement), should I write the application in Csharp
initially? I read a comment on a web page that suggested that this
sort of porting back may be easy to do in VS 2005. I don't know...

Dichotomy:
It seems as though another option is a managed C++ project. In that
case I would tackle MFC now and thus not have to eventually port back.

Other:
Another option seems to be to adopt Trolltech's Qt which seems to
have the luxury of no porting back to MFC, or to Linux.

Thanks...
Nov 17 '05 #1
3 1327
Your question is a bit flip sided.

On the one hand you want an "easy as possible" windows application, yet you
want to ensure it's not hard to port to MFC? Surely the fact that it's easy
to start with means porting it from that point shouldn't be any problem.

If the application is not trivial, then I'd suggets sticking to the language
which you want to end up with. C# is strictly OO, where C++ and MFC sort of
sits in the middle of the road between procedural and object orientation.
These differences could fundamentally influence your design strategy.

If you're eventual goal is MFC, start it in MFC, applications are quick and
easy to knock up there and the time spent porting from a .Net (Managed C++,
C# or Vb.Net) to MFC on any application passed "Hello World" will not be
worth the effort when compared to the minimul time you'd save in .Net
knocking up an application.

Hope that makes sense.
Thanks.
Dan.

"- HAL9000" <gu***@mail.org> wrote in message
news:tq********************************@4ax.com...
Hello,

Background:
I am familiar with VB.NET, vanilla C++, and Pascal but not Csharp.

Please confirm/comment:
If I want to get a windows application running quickly (and minimize
total effort), and have the eventual goal of porting back to MFC (that
is, no .NET requirement), should I write the application in Csharp
initially? I read a comment on a web page that suggested that this
sort of porting back may be easy to do in VS 2005. I don't know...

Dichotomy:
It seems as though another option is a managed C++ project. In that
case I would tackle MFC now and thus not have to eventually port back.

Other:
Another option seems to be to adopt Trolltech's Qt which seems to
have the luxury of no porting back to MFC, or to Linux.

Thanks...

Nov 17 '05 #2
I don't think I have a "language goal".

After doing some investigation it appears as though switching to
C++Builder is the best move. This seems to minimize total effort -
both up-front and down the road.

The (1) new program language learning curve is less with CBuilder
than what it would be for MFC. I already know C++ and I don't know
C#. And (2) code can still be developed quickly since many
components/widgets are offered in both IDE's. In fact C++Builder
looks like it offers more widgets.

A side benefit is a potentially easy port to Linux in the future as
well by just transporting to CBuilderX.

It seems like the .NET framework is the cart before the horse. Unless
you can easily demand customers install the framework, it is useless.
When the framework is pre-installed in the OS (Longhorn) things will
be different.

Can you imagine MS requiring the .NET framework installed before you
could install Office 2003 or other new MS program. How about
requiring it with winXpSp2? I don't think so! MS isn't going to
require it - yet they expect its software development customers to
require the framework.
On Wed, 27 Apr 2005 13:21:24 +0100, "Dan Bass" <Not Listed> wrote:
Your question is a bit flip sided.

On the one hand you want an "easy as possible" windows application, yet you
want to ensure it's not hard to port to MFC? Surely the fact that it's easy
to start with means porting it from that point shouldn't be any problem.

If the application is not trivial, then I'd suggets sticking to the language
which you want to end up with. C# is strictly OO, where C++ and MFC sort of
sits in the middle of the road between procedural and object orientation.
These differences could fundamentally influence your design strategy.

If you're eventual goal is MFC, start it in MFC, applications are quick and
easy to knock up there and the time spent porting from a .Net (Managed C++,
C# or Vb.Net) to MFC on any application passed "Hello World" will not be
worth the effort when compared to the minimul time you'd save in .Net
knocking up an application.

Hope that makes sense.
Thanks.
Dan.

"- HAL9000" <gu***@mail.org> wrote in message
news:tq********************************@4ax.com.. .
Hello,

Background:
I am familiar with VB.NET, vanilla C++, and Pascal but not Csharp.

Please confirm/comment:
If I want to get a windows application running quickly (and minimize
total effort), and have the eventual goal of porting back to MFC (that
is, no .NET requirement), should I write the application in Csharp
initially? I read a comment on a web page that suggested that this
sort of porting back may be easy to do in VS 2005. I don't know...

Dichotomy:
It seems as though another option is a managed C++ project. In that
case I would tackle MFC now and thus not have to eventually port back.

Other:
Another option seems to be to adopt Trolltech's Qt which seems to
have the luxury of no porting back to MFC, or to Linux.

Thanks...

Nov 17 '05 #3
Without knowing what you're aiming at, what the requirements are and so on,
the whole discussion would stay abstract, which for me is pointless and
without any real application.

The .Net framework is released as standard with XP, and it's hard not
getting it on your system if you have 2K.
MS Office 2003 actually is built on .Net so it is a requirement.

If you know C++, then MFC is simply some libraries to assist in what you're
trying to accomplish. I was educated with Borland's Builder and found it
harder to figure what was actually going on under the hood. This is one
benefit of .Net. To get a C# application up and running is trivial, and you
have complete control over everything. The transition from C++ to C# was a
relatively easy one since OOD was something that was engrained in my brain
through my education.

If there's no requirement for the application to be written in an
application, it still comes down to what you want that application to do.
Java's great for cross platform systems, but falls over on Windows based
OS's simply from a performance and effienceny perspective.

I've come from a Builder background, then learnt VC++ and MFC, finally
moving onto .Net and feel, in terms of the work I do, there's no comparison
with the tools, power and ease that .Net provides. Again someone elses
scenario may suit a different set of technologies, it revolves around the
requirements.

"- HAL9000" <gu***@mail.org> wrote in message
news:78********************************@4ax.com...
I don't think I have a "language goal".

After doing some investigation it appears as though switching to
C++Builder is the best move. This seems to minimize total effort -
both up-front and down the road.

The (1) new program language learning curve is less with CBuilder
than what it would be for MFC. I already know C++ and I don't know
C#. And (2) code can still be developed quickly since many
components/widgets are offered in both IDE's. In fact C++Builder
looks like it offers more widgets.

A side benefit is a potentially easy port to Linux in the future as
well by just transporting to CBuilderX.

It seems like the .NET framework is the cart before the horse. Unless
you can easily demand customers install the framework, it is useless.
When the framework is pre-installed in the OS (Longhorn) things will
be different.

Can you imagine MS requiring the .NET framework installed before you
could install Office 2003 or other new MS program. How about
requiring it with winXpSp2? I don't think so! MS isn't going to
require it - yet they expect its software development customers to
require the framework.
On Wed, 27 Apr 2005 13:21:24 +0100, "Dan Bass" <Not Listed> wrote:
Your question is a bit flip sided.

On the one hand you want an "easy as possible" windows application, yet
you
want to ensure it's not hard to port to MFC? Surely the fact that it's
easy
to start with means porting it from that point shouldn't be any problem.

If the application is not trivial, then I'd suggets sticking to the
language
which you want to end up with. C# is strictly OO, where C++ and MFC sort
of
sits in the middle of the road between procedural and object orientation.
These differences could fundamentally influence your design strategy.

If you're eventual goal is MFC, start it in MFC, applications are quick
and
easy to knock up there and the time spent porting from a .Net (Managed
C++,
C# or Vb.Net) to MFC on any application passed "Hello World" will not be
worth the effort when compared to the minimul time you'd save in .Net
knocking up an application.

Hope that makes sense.
Thanks.
Dan.

"- HAL9000" <gu***@mail.org> wrote in message
news:tq********************************@4ax.com. ..
Hello,

Background:
I am familiar with VB.NET, vanilla C++, and Pascal but not Csharp.

Please confirm/comment:
If I want to get a windows application running quickly (and minimize
total effort), and have the eventual goal of porting back to MFC (that
is, no .NET requirement), should I write the application in Csharp
initially? I read a comment on a web page that suggested that this
sort of porting back may be easy to do in VS 2005. I don't know...

Dichotomy:
It seems as though another option is a managed C++ project. In that
case I would tackle MFC now and thus not have to eventually port back.

Other:
Another option seems to be to adopt Trolltech's Qt which seems to
have the luxury of no porting back to MFC, or to Linux.

Thanks...


Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2399
by: clintonG | last post by:
I'm messing around with the Request.UserLanguages and the Request.ServerVariables("HTTP_ACCEPT_LANGUAGE"); to see how similar or dissimilar they may be. I observe and conclude that both get...
11
1821
by: Xah Lee | last post by:
Of interest: • The Semicolon Wars, by Brian Hayes. 2006. http://www.americanscientist.org/template/AssetDetail/assetid/51982 in conjunction to this article, i recommend: • Software...
10
10742
by: Immortalist | last post by:
Various aquisition devices that guide learning along particular pathways towards human biases. And as E.O. Wilson might say mental development appears to be genetically constrained. (1) Language...
10
2184
by: Omar | last post by:
I'm looking for a programming language or module that sorta looks and feels like MS Excel (I love and think in tables), yet has the power and open-endedness of python or javascript. I'm still...
7
1884
by: ThunderMusic | last post by:
Hi, Ok, I find myself having a lot of troubles with URL Rewriting and I've seen on the net that in some situations, indexers have difficulty indexing sites because of some flaws in the url...
0
7260
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7539
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5686
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5089
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3234
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1596
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.