C#的缺点???只是好奇 [英] Disadvantages of C#??? just curious

查看:47
本文介绍了C#的缺点???只是好奇的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

到目前为止我只看到了C#的优点,我很好奇C#的缺点是什么?(因为任何编程语言都应该有一些

正面和负面..)


谢谢


Chandu

Hello every body ,
upto now i saw advantages of C# only,i am curious about what are the
disadvantages of C#..(because any programming language should have some
positives and negatives..)

Thanks

Chandu

推荐答案

你好chandu,


不能像所有.NET FW那样在实时系统中使用


---

WBR,Michael Nemtsev [.NET / C#MVP]。

我的博客: http://spaces.live.com/laflour

团队博客: http://devkids.blogspot.com/


"我们大多数人面临的最大危险并不是我们的目标太高而且我们错过了它,但它太低了我们达到了它的目标。 (c)Michelangelo


cHello每个人,

cupto现在我只看到了C#的优点,我很好奇什么是

cdisadvantages of C#..(因为任何编程语言应该有

csome

cpositives and negatives ..)

c谢谢

c>

cChandu

c>
Hello chandu,

Can''t be used in real-time systems as all .NET FW

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

cHello every body ,
cupto now i saw advantages of C# only,i am curious about what are the
cdisadvantages of C#..(because any programming language should have
csome
cpositives and negatives..)
cThanks
c>
cChandu
c>


无法实时使用全系统.NET FW


这是.Net平台的限制,而不是C#语言。


我不是确保C#语言的任何方面都可以被称为

劣势,虽然C#3.0中的一些增强功能似乎提供了编写不太可读的代码的能力,例如隐式类型和lambda

表达式。


-

HTH,


Kevin Spencer

Microsoft MVP


打印组件,电子邮件组件,

FTP客户端类,增强型数据控件等等。

DSI PrintManager,Miradyne组件库:
http://www.miradyne.net


" ; Michael Nemtsev < ne ***** @ msn.com写信息

新闻:a2 ************************* **@msnews.microsof t.com ...
Can''t be used in real-time systems as all .NET FW

This is a limitation of the .Net platform, not the C# language.

I''m not sure that any aspect of the C# language could be called a
"disadvantage," although some of the enhancements in C# 3.0 seem to provide
the ability to write less-readable code, such as implicit types and lambda
expressions.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Michael Nemtsev" <ne*****@msn.comwrote in message
news:a2***************************@msnews.microsof t.com...

你好chandu,


不能用于所有.NET FW的实时系统


---

WBR,Michael Nemtsev [.NET / C#MVP]。我的博客:
http://spaces.live.com/laflour

团队博客: http://devkids.blogspot.com/


我们大多数人面临的最大危险并不是我们的目标太高而且我们错过了b $ b错过了它,但它太低了我们达到了它 (c)Michelangelo


cHello每个人,

cupto现在我只看到了C#的优点,我很好奇什么是

cdisadvantages of C#..(因为任何编程语言应该有

csome

cpositives and negatives ..)

c谢谢

ccChandu

c>
Hello chandu,

Can''t be used in real-time systems as all .NET FW

---
WBR, Michael Nemtsev [.NET/C# MVP]. My blog:
http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

cHello every body ,
cupto now i saw advantages of C# only,i am curious about what are the
cdisadvantages of C#..(because any programming language should have
csome
cpositives and negatives..)
cThanks
ccChandu
c>



4月12日13:35,chandu < nareshv_chan ... @ hotmail.comwrote:
On 12 Apr, 13:35, "chandu" <nareshv_chan...@hotmail.comwrote:

大家好,

到目前为止我只看到了C#的优点,我是好奇C#的缺点是什么?(因为任何编程语言都应该有一些

的正面和负面...)


谢谢


Chandu
Hello every body ,
upto now i saw advantages of C# only,i am curious about what are the
disadvantages of C#..(because any programming language should have some
positives and negatives..)

Thanks

Chandu



嗯,首先它是一种编译语言(与专业人士一起)和con'的
相比,像Python这样的脚本语言。其次是编译为通用中间语言(CIL)的
所以还有第二个

编译:JIT(即时编译)。这使得它在像Python这样的脚本语言和本地之间的某些东西之间就可以了。像

C这样的语言 - 这也是pro'和con'的结合。 Python-people(以及

其他人)往往看起来脚本语言的开发速度更快,而且在更新系统部分时更加灵活
(无需存储
我猜GAC中的
内容。另一方面,我认为编译

语言更强大,我猜更快,因为它们是编译的



自它被编译为CIL,您可以从fx中提取源代码 -

代码一个exe文件,一个典型的工具是Lutz Roeders

Reflector。这有时候可以被认为是积极的,有时也是负面的




CIL的一个优点是可以与所有的接口

.NET平台的类和库。我认为这是C#和任何其他.NET语言的主要优势。


由于微软几乎落后于C#,我担心,至少有一些人和我在一起,C#是一种十年的味道。语言 -

意味着在五到十年内它将会死亡并被下一个微软十年风味替换为b / b
。与C语言相比,这是一种非常稳定的语言,已经存在了大约30年,而且看起来几乎是相同的C#看起来不像今天的10

年如果存在。 (我的个人意见/猜测/恐惧。)


此外,由于我喜欢阴谋,我认为微软这样做是为了赚钱(或许不仅仅是至少部分地说,它必须是好的

让他们强迫人们购买新东西,重新编程那些东西,以及至少十年一次的b $ b。但是:如果你问微软,他们会回复

他们想发明新东西并引领技术竞赛

而不是第二名。当然他们是对的。 C#/。NET将不会像他们付出的极端努力那样优秀的b / b
。但仍然:我担心C#将在10年内成为一种死亡的语言(取而代之的是一种新的C风格),但是C将会继续保持强势。 (另一方面,.NET框架似乎非常重要,所以我真的很不喜欢。)


说到语法,你可能更喜欢视觉基本或一些其他.NET语言,但这是一个品味问题(因为C#和

VB.NET有(我猜)相同的功能)。 />

HTH,




-

每个Erik Strandberg

..NET架构师 - 优化

Tomlab优化公司
http://tomopt.com/tomnet/

Well, first of all it''s a compiled language (with the pro''s and con''s
of that) as opposed to a script-language like Python. Secondly it is
compiled to Common Intermediate Language (CIL) so there is a second
"compilation": JIT (just-in time compilation). This makes it something
in between a script language like Python and a "native" language like
C - again this is comes with both pro''s and con''s. Python-people (and
others) tend to seem script-languages are faster for developing and
more flexible when updating parts of the system (no need to store
stuff in the GAC I guess). On the other hand I think complied
languages are little more robust and I guess faster since they are
compiled.

Since it is compiled to CIL you can pretty much extract your source-
code from f.x. an exe-file, a typical tool for this is Lutz Roeders
Reflector. This can be considered positive sometimes, and negative
sometimes.

An advantage of the CIL-stuff is that is can interface with all
classes and libraries of the .NET platform. As I see it this is the
main advantage of C# and any other .NET-language.

Since Microsoft is pretty much behind C# I fear, and at least some
people with me, that C# is a sort of "flavor of the decade" language -
meaning that in five to ten years it will be dead and replaced with
the next Microsoft "flavor of the decade". Compared to C that is a
very stable language that has been around for about 30 years and has
looked pretty much the same C# will not look like it does today in 10
years if it exists. (My personal opinion/guess/fear.)

Also, since I like conspiracies I think Microsoft is doing this to
make money (perhaps not only but at least partially), it must be nice
for them to force people to buy new stuff, reprogram that stuff and so
on at least once a decade. BUT: If you ask Microsoft they will reply
that they want to invent new stuff and lead in the technology race
instead of being second. And of course they are right. C#/.NET would
not be as excellent as it is if it had not been for the extreme effort
they have put into it. But still: I fear that C# will be a dead
language in 10 years (replaced with a new C-flavor), but that C will
still be running strong. (On the other hand the .NET framework seems
to be really important so I dunno really.)

When it comes to syntax you could perhaps prefer visual basic or some
other .NET-language, but that is a matter of taste (since C# and
VB.NET have (I guess) identical functionality).

HTH,

Per
--
Per Erik Strandberg
..NET Architect - Optimization
Tomlab Optimization Inc.
http://tomopt.com/tomnet/


这篇关于C#的缺点???只是好奇的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆