E*****7 发帖数: 128 | 1 Microsoft .NET的最大卖点恐怕在于它的.NET Base Class Library。MS Visual Studio提供了四种与.NET相关的编程语言:Visual C#,Visual Basic.NET, Visual J#和 C++/CLI。对于熟悉C++的人来说,C++/CLI比C#更容易学习掌握。
有没有人在用C++/CLI做东西?C++/CLI与C#比有什么优缺点?欢迎讨论。 |
k***r 发帖数: 4260 | 2 i haven't used c++ with .net but one drawback i can think if is
that most of the sample code online is in c#.
C+
【在 E*****7 的大作中提到】 : Microsoft .NET的最大卖点恐怕在于它的.NET Base Class Library。MS Visual Studio提供了四种与.NET相关的编程语言:Visual C#,Visual Basic.NET, Visual J#和 C++/CLI。对于熟悉C++的人来说,C++/CLI比C#更容易学习掌握。 : 有没有人在用C++/CLI做东西?C++/CLI与C#比有什么优缺点?欢迎讨论。
|
r*********r 发帖数: 3195 | |
N********n 发帖数: 8363 | 4
Just use C#, it may take like 2 weeks for a C++ programmer to learn.
【在 E*****7 的大作中提到】 : Microsoft .NET的最大卖点恐怕在于它的.NET Base Class Library。MS Visual Studio提供了四种与.NET相关的编程语言:Visual C#,Visual Basic.NET, Visual J#和 C++/CLI。对于熟悉C++的人来说,C++/CLI比C#更容易学习掌握。 : 有没有人在用C++/CLI做东西?C++/CLI与C#比有什么优缺点?欢迎讨论。
|
l****n 发帖数: 157 | 5 C++/CLI is something like J++ etc, it is something MS made with half heart
to steal C++ user base, it may get dropped any time. If you check all those
C# new features, those support in C++/CLI is quite limited. |
E*****7 发帖数: 128 | 6 Can someone here recommend a good book on learning C# that he/she benefits most?
There are so many out there. Thank you ! |
r*********r 发帖数: 3195 | 7 入门: illustrated c# 2008
深入: c# in depth |
r*********r 发帖数: 3195 | 8 c# 语言本身很简单, 除了 delegate 有点新意.
关键是那一大堆库. 跟 java 一样, 大而无趣. |
E*****7 发帖数: 128 | |
r*********r 发帖数: 3195 | 10 illustrated c# 确实是一本很有创意的书, 基本上是把 object model 都画出来了,
如果java, c++ 有这样的书就好了. |
|
|
E*****7 发帖数: 128 | |
k***r 发帖数: 4260 | 12 为啥偶觉得delegate没有必要的复杂?其实就是一个callback
c#弄了很多新名词出来,感觉远远没有java干净,能做的事情却差不多。
有人觉得c# performance比java好些吗?正在努力找一个原因喜欢c#,so far没找到
【在 r*********r 的大作中提到】 : c# 语言本身很简单, 除了 delegate 有点新意. : 关键是那一大堆库. 跟 java 一样, 大而无趣.
|
B****y 发帖数: 791 | 13 C++/CLI is mainly used for working with legacy c++ code/libraries. It's much
easier to write wrapper component in C++/CLI than using C#. Otherwise, C#
is always better for .NET programming. |
r*********r 发帖数: 3195 | 14 delegate started out as just a callback mechanism, for the GUI,
but in c# 3, it has been turned into something like a closure,
hence it's the foundation of functional programming going forward.
【在 k***r 的大作中提到】 : 为啥偶觉得delegate没有必要的复杂?其实就是一个callback : c#弄了很多新名词出来,感觉远远没有java干净,能做的事情却差不多。 : 有人觉得c# performance比java好些吗?正在努力找一个原因喜欢c#,so far没找到
|
c*********s 发帖数: 85 | 15 definitely recommend programming .net using c# over c++. c++.net I'm sure
can do anything the other supported languages can do with regards to the .
net libraries but the changes they made to make c++ compatible make it not
so pretty. c# was designed for .net and take advantage of the features
naturally. and yes it is very much like c++ and java and should not be hard
to pick up. just keep msdn.microsoft.com handy because you'll need to look
up what the .net library can do to save on coding. |
k***r 发帖数: 4260 | 16 Looks like it, although I'm surprised that they didn't introduce
a new keyword "closure" this time.
【在 r*********r 的大作中提到】 : delegate started out as just a callback mechanism, for the GUI, : but in c# 3, it has been turned into something like a closure, : hence it's the foundation of functional programming going forward.
|
r*********r 发帖数: 3195 | 17 "delegate" is an obscure keyword... "closure" might make sense to academics,
but
obscure to most programmers too.
c++0x will have closure too, it's just [ ]( ){ }. ingenious syntax ! |
f*****Q 发帖数: 1912 | 18 delegate好像从八几年就有了,不是C#发明的。也可能更早。
【在 k***r 的大作中提到】 : 为啥偶觉得delegate没有必要的复杂?其实就是一个callback : c#弄了很多新名词出来,感觉远远没有java干净,能做的事情却差不多。 : 有人觉得c# performance比java好些吗?正在努力找一个原因喜欢c#,so far没找到
|
z***e 发帖数: 5393 | 19 first, c# is the .NET standard language.
2nd, i'd rather write in clean C++ than some "mixed" C++/CLI. C# code looks
much better than C++/CLI --- think about using thos "^" symbols
Studio提供了四种与.NET相关的编程语言:Visual C#,Visual Basic.NET, Visual J#
和 C++/CLI。对于熟悉C++的人来说,C++/CLI比C#更容易学习掌握。
【在 E*****7 的大作中提到】 : Microsoft .NET的最大卖点恐怕在于它的.NET Base Class Library。MS Visual Studio提供了四种与.NET相关的编程语言:Visual C#,Visual Basic.NET, Visual J#和 C++/CLI。对于熟悉C++的人来说,C++/CLI比C#更容易学习掌握。 : 有没有人在用C++/CLI做东西?C++/CLI与C#比有什么优缺点?欢迎讨论。
|
P********e 发帖数: 2610 | 20 exactly
when I saw ^, I know it's gonna fail
looks
J#
【在 z***e 的大作中提到】 : first, c# is the .NET standard language. : 2nd, i'd rather write in clean C++ than some "mixed" C++/CLI. C# code looks : much better than C++/CLI --- think about using thos "^" symbols : : Studio提供了四种与.NET相关的编程语言:Visual C#,Visual Basic.NET, Visual J# : 和 C++/CLI。对于熟悉C++的人来说,C++/CLI比C#更容易学习掌握。
|
|
|
E*****7 发帖数: 128 | 21
Thanks for the wonderful discussion here. I am learning "Illustrated C# 2008
" now.
Can randomtiger confirm that the "C# in Depth" is the following book?
http://www.amazon.com/C-Depth-What-need-master/dp/1933988363/ref=sr_1_1?ie=UTF8&s=books&qid=1232485710&sr=1-1
Thanks again.
【在 r*********r 的大作中提到】 : 入门: illustrated c# 2008 : 深入: c# in depth
|
r*********r 发帖数: 3195 | |
N********n 发帖数: 8363 | 23
Yes. If it's .Net, then stick to C#.
C++ standard template plus managed environment is scary. Templates
usually have their own delicate memory management mechanism that
conflicts with that of managed code. We had project like that b4,
there's mysterious crash all over the places when the two were mixed.
【在 c*********s 的大作中提到】 : definitely recommend programming .net using c# over c++. c++.net I'm sure : can do anything the other supported languages can do with regards to the . : net libraries but the changes they made to make c++ compatible make it not : so pretty. c# was designed for .net and take advantage of the features : naturally. and yes it is very much like c++ and java and should not be hard : to pick up. just keep msdn.microsoft.com handy because you'll need to look : up what the .net library can do to save on coding.
|
d***q 发帖数: 1119 | 24 a few months ago, we developed a grid management system for China petroleum
group (changqing oilfield company). The system is mainly implemented with C+
+/CLi. |
k***r 发帖数: 4260 | 25 Poor them, hehe. It'll be relatively harder for them to
find people to maintain it.
petroleum
C+
【在 d***q 的大作中提到】 : a few months ago, we developed a grid management system for China petroleum : group (changqing oilfield company). The system is mainly implemented with C+ : +/CLi.
|