473,545 Members | 1,558 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

a pre-beginner's question: what is the pros and cons of .net, compared to ++

a pre-beginner's question:
what is the pros and cons of .net, compared to ++

I am wondering what can I get if I continue to learn C# after I have learned
C --> C++ --> C# ??

I think there must be many know the answer here.

thanks

BR
----------------
Lester
Jul 21 '05 #1
44 4136
Lester

Simply answer, it is a next step in the evolution of that language, and than
you ask "yes and than?

It is more logical to write, however as with all evolutions are there staid
some legacy, where the users are used too however could have been as well
changed however that is not done direct.

I give no examples because that goes always to endless discussions.

Cor


"lester" <ho************ **@etang.com> schreef in bericht
news:e7******** **********@TK2M SFTNGP15.phx.gb l...
a pre-beginner's question:
what is the pros and cons of .net, compared to ++

I am wondering what can I get if I continue to learn C# after I have
learned
C --> C++ --> C# ??

I think there must be many know the answer here.

thanks

BR
----------------
Lester

Jul 21 '05 #2
thank you Cor,
maybe I have to study some abc about .NET before I know for whom .NET is
designed.

about C++, we should say"C++ really makes program very natural, simple, easy
to understand, easy to maintain..., than C."
about C# we should say"????"

Anyone can tell your understanding of .NET(esp, C#) to me?

------------
Lester

"Cor Ligthert" <no************ @planet.nl> дÈëÏûÏ¢ÐÂÎÅ
:OP************ **@TK2MSFTNGP09 .phx.gbl...
Lester

Simply answer, it is a next step in the evolution of that language, and than you ask "yes and than?

It is more logical to write, however as with all evolutions are there staid some legacy, where the users are used too however could have been as well
changed however that is not done direct.

I give no examples because that goes always to endless discussions.

Cor


"lester" <ho************ **@etang.com> schreef in bericht
news:e7******** **********@TK2M SFTNGP15.phx.gb l...
a pre-beginner's question:
what is the pros and cons of .net, compared to ++

I am wondering what can I get if I continue to learn C# after I have
learned
C --> C++ --> C# ??

I think there must be many know the answer here.

thanks

BR
----------------
Lester


Jul 21 '05 #3
"lester" <ho************ **@etang.com> wrote in
news:e7******** **********@TK2M SFTNGP15.phx.gb l...
a pre-beginner's question:
what is the pros and cons of .net, compared to ++
(I assume "++" means "C++"?)
You can write perfect .NET programs using C++: Types marked as "managed"
(using some cryptic new keywords) will benefit of .NET's advantages: Garbage
Collection, Reflection, language interoperabilit y to name just a few. Plus,
you can use any managed type (e.g. types from the .NET framework library) in
your "ordinary" C++ code.
On the other hand, this also means you have another String class, another
Array class, another memory management pattern (...) to choose from - as if
C++ didn't have enough already.
That's the point where C# comes in: It sacrifices backwards compatiblity for
clarity - one string type, one array type...
I am wondering what can I get if I continue to learn C# after I have
learned
C --> C++ --> C# ??


You'd learn a modern, clean, purely-object-oriented language. If you ever
thought "why do I need all those different string types like char*,
wchar_t*, string, CString, BSTR...", then should really give C# a try.

Niki
Jul 21 '05 #4
Lester,

..NET is a platform on which programs run. You then use a programming
language (like C#, or VB.NET, or C++/CLI) to write programs for that
platform. The .NET platform is a bit different from the standard
Windows/Linux platforms, and very similar to the JVM in that there is a
unified type system, and garbage collection. Now, C++ doesn't port to this
kind of world very easily, so they created C#. C# is built with the .NET
platform in mind. It's a bit simpler than C++, and waaay easier to program
in. For that you sacrifice a little speed and a few fairly esoteric features
(goodbye MI, we hardly knew you). In many ways C# is very similar to the
Java programming language, since they both come from the C-style of families
and are both targeted at garbage-collected (or managed) environments.

As for that quote of yours about C++, that really cracked me up. I suppose
you were comparing it to C, and in that context C++ is more natural, simpler
and easier to use. I think you'll find that C# is quite a bit more natural,
simple, and easy to use than C++.

Regards

Sean

"lester" <ho************ **@etang.com> wrote in message
news:un******** ********@TK2MSF TNGP11.phx.gbl. ..
thank you Cor,
maybe I have to study some abc about .NET before I know for whom .NET is
designed.

about C++, we should say"C++ really makes program very natural, simple,
easy
to understand, easy to maintain..., than C."
about C# we should say"????"

Anyone can tell your understanding of .NET(esp, C#) to me?

------------
Lester

"Cor Ligthert" <no************ @planet.nl> дÈëÏûÏ¢ÐÂÎÅ
:OP************ **@TK2MSFTNGP09 .phx.gbl...
Lester

Simply answer, it is a next step in the evolution of that language, and

than
you ask "yes and than?

It is more logical to write, however as with all evolutions are there

staid
some legacy, where the users are used too however could have been as well
changed however that is not done direct.

I give no examples because that goes always to endless discussions.

Cor


"lester" <ho************ **@etang.com> schreef in bericht
news:e7******** **********@TK2M SFTNGP15.phx.gb l...
>a pre-beginner's question:
> what is the pros and cons of .net, compared to ++
>
> I am wondering what can I get if I continue to learn C# after I have
> learned
> C --> C++ --> C# ??
>
> I think there must be many know the answer here.
>
> thanks
>
> BR
> ----------------
> Lester
>
>



Jul 21 '05 #5

Comments inline

Sean Hederman wrote:
Lester,

.NET is a platform on which programs run. You then use a programming
language (like C#, or VB.NET, or C++/CLI) to write programs for that
platform. The .NET platform is a bit different from the standard
Windows/Linux platforms, and very similar to the JVM in that there is a
unified type system, and garbage collection.


Also, Lester, note that a key difference in the design of
the DotNet platform and the JVM is that the JVM was built
to support Sun's idea of the one right language, Java.
DotNet was designed to be language agnostic.

Java: any platform, one virtual machine, one language.
Tools were left to the users to work out.

DotNet: any language, one primary virtual machine, one
primary platform, but open enough to support multiple
platforms. Google for the Mono project for details.
Tools were designed by MS, largely unified tool set
for any language *
* imperfectly done, but that was the goal. getting better.
Jul 21 '05 #6
Ron,

Java is full of English.

The real one right programming tool would have at least Chinese words
instead of that.

For me that is not necessary by the way however when you state something do
it than at least right, while have overthought what that right programming
tools would be.

Cor
Jul 21 '05 #7
Good point, Cor.

Why not create a simple parser/translator that can be used to preprocess the
C#. That way, a developer in China could use a localized name instead of
the english words (like 'if' and 'while'). The preprocessor can change the
names of the keywords back to english before compiling.

With a little imagination, this could work for many natural languages.
Arabic and Hebrew may be a challenging because of the right-to-left word
order, but I'm sure that could be worked out. Such a tool could make it
more natural for non-english-speaking people to write code.

Hmmmmm....

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Cor Ligthert" <no************ @planet.nl> wrote in message
news:OP******** ********@TK2MSF TNGP09.phx.gbl. ..
Ron,

Java is full of English.

The real one right programming tool would have at least Chinese words
instead of that.

For me that is not necessary by the way however when you state something do it than at least right, while have overthought what that right programming
tools would be.

Cor

Jul 21 '05 #8
Nick,

I write this, however don't think it is right, so forget please the idea.

When you want to know why tell that, than I will write it to you. I am a
little bit ill the last days so is it not good to answer those things when
it has to be serious as the mind is not as it should be.

(you have my email)

Cor
Jul 21 '05 #9
I should have sent you this too your email address, however as I said a
little bit ill. I stop answering for today.

Cor
Jul 21 '05 #10

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

Similar topics

21
10184
by: Headless | last post by:
I've marked up song lyrics with the <pre> tag because it seems the most appropriate type of markup for the type of data. This results in inefficient use of horizontal space due to UA's default rendering of <pre> in a fixed width font. To change that I'd have to specify a proportional font family, thereby falling into the size pitfall that...
7
18518
by: Alan Illeman | last post by:
How do I set several different properties for PRE in a CSS stylesheet, rather than resorting to this: <BODY> <PRE STYLE="font-family:monospace; font-size:0.95em; width:40%; border:red 2px solid; color:red;
2
2776
by: Buck Turgidson | last post by:
I want to have a css with 2 PRE styles, one bold with large font, and another non-bold and smaller font. I am new to CSS (and not exactly an expert in HTML, for that matter). Is there a way to do this in CSS? <STYLE TYPE="text/css"> pre{ font-size:xx-large;
5
24090
by: Porthos | last post by:
I'm authoring an XML document and using the <pre> html tag for the portions that are not dynamically generated. The <pre> text is displaying in a smaller font size (and I believe different font) than standard text. I would like all of my text to be formatted this way, though I don't want to use the <pre> tag for all of it. Can anyone tell...
5
718
by: Michael Shell | last post by:
Greetings, Consider the XHTML document attached at the end of this post. When viewed under Firefox 1.0.5 on Linux, highlighting and pasting (into a text editor) the <pre> tag listing will preserve formatting (white space and line feeds). However, this is not true when doing the same with the <code> tag listing (it will all be pasted on one...
8
3770
by: Jarno Suni not | last post by:
It seems to be invalid in HTML 4.01, but valid in XHTML 1.0. Why is there the difference? Can that pose a problem when such a XHTML document is served as text/html?
7
2733
by: Rocky Moore | last post by:
I have a web site called HintsAndTips.com. On this site people post tips using a very simply webform with a multi line TextBox for inputing the tip text. This text is encode to HTML so that no tags will remain making the page safe (I have to convert the linefeeds to <BR>s because the Server.EncodeHTML does not do that it seems). The...
9
5530
by: Eric Lindsay | last post by:
I can't figure how to best display little snippets of shell script using <pre>. I just got around to organising to bulk validate some of my web pages, and one of the problems occurs with Bash shell pieces like this: <pre><code> #!/bin/sh ftp -i -n ftp.server.com&lt; &lt;EOF user username password epsv4 cd /
23
3592
by: Xah Lee | last post by:
The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee, 2006-03-15 Let me summarize: The LISP notation, is a functional notation, and is not a so-called pre-fix notation or algebraic notation. Algebraic notations have the concept of operators, meaning, symbols placed around arguments. In...
0
7401
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7656
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7756
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5326
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3450
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3442
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1879
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 we have to send another system
1
1014
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
703
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.