Re: C # and C ++ learning curve
- From: MrAsm <invalid@xxxxxxxxxxx>
- Date: Sun, 21 Jan 2007 11:11:51 GMT
On 20 Jan 2007 20:20:25 -0800, "Deckarep" <deckarep@xxxxxxxxx> wrote:
One thing I like about C# is the fact that if and when you need to jump
into other languages they are many that look/feel like c#.
For example Java, ActionScript( Flash ), JavaScript, PHP and others.
To be honest, Java, JavaScript, PHP, etc. were all invented *before*
C#.
(However, C# has several improvements over Java.)
They all borrow from the family of C languages but more languages like
C# are offering memory managed environments therefore making C# (in my
opinion) the better choice.
Java offered garbage-collector memory management *before* C#.
If I recall correctly, also Visual Basic 6 offered automatic memory
management (but I'm not sure about this).
Companies are looking for rapid development over speed and control. I
mean, imagine programming a Web Application in c++. Of course it can
be done but the C# team will pump it out faster.
I like C and C++, but you're absolutely right here.
Languages are tools, and one must choose the best tools for the given
job.
For web apps, I think the way to go is C#.
(And for some web development, also PHP would be OK, and PHP is much
simpler than C#.)
True, they may not
understand data structures,
C++ has STL, so also a C++ programmer "may not understand data
structures".
But I think that basic understanding of data structures (lookup speed,
sorting, etc.) should be a common denominator of all programmers
(whether they use C# or C++ or other languages)
hardware, and memory management as much as
a c++ programmer would but in many settings rapid development is
favored over those things then if need be performance is squeezed out
by moving to the lower level (read: c++).
Moreover, the WWW and Internet have some latency, so some clock cycles
that a C++ .exe may save on a local machine are absolutely irrelevant
in this context.
And there is the problem of security: it is possible to cause buffer
overflows with C++ arrays (not if one use std::vector with at()
method, however). While C# (and Java) arrays are bounds-checked. This
is very important to build secure software.
MrAsm
.
- References:
- C # and C ++ learning curve
- From: Peter@POLKO
- Re: C # and C ++ learning curve
- From: Deckarep
- C # and C ++ learning curve
- Prev by Date: Constant expression evaluation
- Next by Date: Re: Simple Inheritance : Creating derived classes from instances of base class.
- Previous by thread: Re: C # and C ++ learning curve
- Next by thread: Prefix methods
- Index(es):
Relevant Pages
|