9 y9 s& a8 e/ N M LeoCN 来自 http:// : $ M% |9 D m; x- Q
" I0 W0 j8 Y6 a3 p F; S0 D+ I( H It's not a time for us to determine which language will more better! # Q; F7 N3 Y! L8 ^: x
. O) |& s0 }9 e. Q( Q! ^ in factly,In China,too many corporation just writting some codes for # @1 {: b% T% K% G; ~
! W: B8 s( U& }# k: r7 M enterprise's MIS,OA,ERP or other application.It do not need so speed 3 O' ?: a' N$ A 1 Z' w9 k! {* @0 @9 Z! c c7 v
and do not need so good original code. just want more data,more easy and m 3 W# w; b% j9 ]: u; ]
ore quickly. 6 u" q' i0 @6 c1 h 4 r6 G1 L! A# P
so c++ is not a choice in such enviroment. and u know,many codes we write * {, s* s+ u$ e; V( Y; W& m: x
today will be useless.and there r so many easy tools such as VB 4 q$ [2 i9 I* `' |8 w+ o2 a3 r 0 p( M! y5 G$ E7 W$ w' r! t+ \ for windows designer, Developer/2000 or PB for database,Domino Designer fo % I( w/ U8 P/ v; P: W' O8 G. [r OA application,why c++??? ! l! d" w$ F- h# C
! O4 n1 V; J5 C: C/ L! R) W& u3 p5 J in DOS mode. i like Turbo c2.0, with it and MASM i can do everything. 8 l% H# h) A7 s4 c4 z1 N
* }* p& c2 p$ P. h( A
but now i hate c++, it has waste my time! my corporation do not need + l, l! Q) _. E
# Q% }9 c N( q7 Z6 a$ Q% b6 R
c++,just need java,xml,php,pb,vb,delphi,developer/2000,domino designer etc ) D# L3 s. m3 \3 f! }. H. s k8 K. J7 m / B& C( h5 \9 P! `, o$ N
so, a tool is just a tool,if the advantages in some aspect of the tool ' j+ q2 t; f" }, a' Y; i4 N- H$ P * i! ]9 g" v& v- D" C, r8 H
u needed. it's will be a good tool for u. others it can bring u unfortunat ) i: F! P1 K4 [( ^0 @- Q& D! F
ly! 2 k5 T" y' u5 I7 j, s " _$ f) x6 @% a8 {0 z
恶魔吹着笛子来 来自 : & F( @( a, u# A, \ ! F2 w; r5 H9 F- T# D/ }3 Z 果子,国内的Java应用不到10%基本上是ms的天下.这些可能是由于中国软件业规模太小 * k: d4 g! i& `! S: [
的缘故.而在国外40%的商务系统的开发都是Java,c/c++不到10%.譬如BEA公司一个有3个 , \! f! R9 X7 q9 L" Z- X* Ejava程序员创立的公司开发了第一个基于J2EE的Application Server---weblogic.BEA公 5 a3 N2 Z% `: k- O
司依靠weblogic在短短4年里成为世界第四大软件公司仅次于CA公司.可见JAVA的功能是 ' C* ~9 I7 _* z
如何的强大.微软的.NET的负责人说,你们想要知道.NET是什么样子,那就去看看JAVA.JA - e, q7 P6 m3 i$ y. }8 WVA是什么样子.NET就是什么样子. " r+ ]. P3 U8 h% T
- E! `# m% ^) j
: P1 `- Q7 V5 x3 L5 H/ z3 n
* G+ y% }9 M4 i$ o. N$ l/ M$ }
恶魔吹着笛子来 来自 http:// : + x9 x& ]+ e+ [3 ]8 ^ : ?6 g; \3 n0 M; c Wesley你好.关于Java开发工具的问题.从我的观点来看,目前的Java开发工具没有一个 , W' a# m2 P1 x }. H令人满意的.最主要的是,在技术上考虑的太多,却不像MS的开发工具考虑到程序员的方便 % k% @$ a ^2 Q/ i. }7 ~( z
(vj++是另外一会事情我后面会讲). 3 T3 f; y0 S8 D2 ? 9 K% T {0 u6 r+ c
基本上流行的是sun的jdk,ibm的visual age for jave,samtic 的visual cafe,和bor ! f5 E& H: ~5 P; i" [4 |# f( J
land的jbuilder(vj++基本上没有什么人用). # [! D' {% z6 t' e
4 D: q- T" @1 O6 b2 r6 ^
在这几个工具来讲,jdk是老大哥,但是仅仅是一个command line compile.在某些方面 3 s) C% {3 @! u3 Q1 Y
用ultreditor+jdk会比较方便,譬如你的机器的配置比较的低(memory<64M).一般来说,几 " E: ~ j/ [: u
乎所有的Java工具需要的机器配置都比较高. . ?, u- z) f8 j
8 f, { ^1 w! O( y4 |2 \ visual cafe是第一个可以使用的Java IDE工具,我当初学习Java的时候就是用这个.它 6 D0 T0 x$ m" k3 P的配置要求比较低.一些比较低的版本譬如1.5 2.032M就可以使用了.但是现在最新的版 . s) P! b( `+ E4 G' B
本5.0的要求就比较高了,可惜2.0以后的版本没有用过.cafe的IDE开发也不是很方便,懂 2 G& Y% c0 t7 ?9 @& k% O
一个窗口西一个窗口比较的乱.而且bug还很多.有的时候trace到一定的地方 ' r2 C4 @: h4 x8 `) Q ' Z- _5 O" Q5 e6 p K7 A; C) z
就会crash.samtic是一个系统安全公司不知道为什么cafe却那么不稳定.而且从技术上 6 Z9 ^* ?3 p3 A" M. u8 E ~' I
来说到目前为止还没有完全支持java2.更不要说j2ee了.从帮助来说cafe的帮助基本上还 - y% o& v5 U }+ F3 Y- p L是jdk的帮助没有什么特别的地方. ( {) b& J$ F. T
1 Q; f$ b" r- ^! w$ O0 b+ l; \ chenxiqi 来自 <a href="http://chenxiqi@yeah.net" target="_blank" >http://chenxiqi@yeah.net</A> : ! \9 |" j) C7 |) h F , W0 T# K5 a }1 l+ v
VC++开发数据库软件确实比较慢,可有许多软件只能用C/C++来开发,如果VC++退出历 ) M/ C; \1 ^6 L0 I) a史舞台,那岂不是说只有数据库软件才叫软件,我想世界不会如此单一。 : Q& S0 C7 a% N( E. C3 k
# |% g! }8 [( g- _! X 2 d5 S- I G: H9 Y" l zhangxiuyong 能告诉我什么是MVC的开发技术吗 % x% a7 |9 G% I! u$ f( r
4 u7 T6 e+ i$ ^$ d; l9 t
恶魔吹着笛子来 来自 : 9 S( o0 w$ ~% ]- T4 N0 d * y8 }: I& `, t3 S! y
什么样的的软件只能用c/c++开发? : I2 B. J' ^ ] V' {% J 4 F$ O5 ~. e- Z: ? m A 操作系统?apple的OS7,os8,os9都是PASCAL开发的. 9 ? \/ c7 V6 w & @& v; R0 k$ g6 [0 r
数据库?oracle8i就是JAVA开发的 " Y0 I) @7 u) @7 e- b6 e4 z5 b& ]
$ [; F/ r3 c5 Y1 s v W
游戏?你也许没有见过用DELPHI开发的<笑傲江湖><风云>,甚至有VB开发的<神龙教> 9 ?( C# Z, R* j: v3 `1 U6 u6 c
5 Q6 L8 s2 p8 v; x$ q
同时VB7.0全面支持direx8.0.可想而知游戏的难度会大大的降低吧. 9 @% _, M1 `# q- @ # F" h$ r2 y# z! ]2 V MVC=Model, View, Controller Design Pattern a3 `9 ]2 \* X3 R, B + Q1 f, G* K0 a, e' j3 j) j 3 Z2 z# c7 v/ ]
; }7 F6 T! s6 S8 B
恶魔吹着笛子来 来自 : % W, P5 a6 t2 |, e* g% ?) C
4 N* c" q1 `8 u( g( k0 U
什么样的的软件只能用c/c++开发? , s. n* k& G2 r* y
' F v3 A1 e% e 操作系统?apple的OS7,os8,os9都是PASCAL开发的. % ^' b1 U& L+ v }: G : a( \1 I% U# d0 U( S/ y% F 数据库?oracle8i就是JAVA开发的 1 O/ j; j7 F' o3 [" F( W* j " X2 Y' f8 {9 y5 v: E 游戏?你也许没有见过用DELPHI开发的<笑傲江湖><风云>,甚至有VB开发的<神龙教> 8 M8 v+ p5 [. r( h# }' s; y ; u/ v4 R0 j* A% r) R3 Q
同时VB7.0全面支持direx8.0.可想而知游戏的开发难度会大大的降低吧. 2 B, @7 d* g5 G9 V) a) O0 @7 S& j / V/ E$ o; c) m0 t2 g 我的意思不是说c/c++会消失而是应用的范围将会大大的降低并且将会进行脱胎换骨的 # E" t3 @1 J( H
升级(用了20几年升升级总可以吧,java的升级不算太成功,但是是一个不错的先例我想c $ C3 k7 y% b) M) X0 g, ]3 y
#的前景会更好). . E$ v; v" a+ h! [3 u2 ^ ) q+ B- {$ Q6 G- P7 r BTW: ) _/ ^& m5 a% Q. m/ q* c. H' q 8 ]$ ?! g6 ^( Z2 H/ s% x MVC=Model, View, Controller Design Pattern , h) Y2 o$ i% `. v7 t& D* n0 c
- b+ A* O0 L$ T2 |0 G2 c2 j9 j3 u
' T C# a( g0 [% H) W
( \) D5 U0 l3 Y, |* N9 O xubin 来自 http:// : 5 C8 q+ q( F( O s2 r 7 B- ^2 C& E8 D: L$ \4 k
在工业控制中,直接对I/O地址操作,就要用C++。 0 q. q* Y0 F4 n( F2 W* u 1 U4 P' k5 }& t- K0 ~- I 恶魔吹着笛子来 来自 : ' c) \0 B) _- H2 c1 Y8 J, w; H; h- g
4 q9 |; G* l. W 俺有一个同学毕业设计用VB做单片机。你这不是在讨论问题是在抬杠。 : I" _. a" f8 U; p9 c# U9 ~ ( `6 x8 K& i" w) d6 N" x8 I6 x2 O9 F
wenyy 来自 <a href="http://www.vchelp.net" target="_blank" >http://www.vchelp.net</A> : $ B5 V2 s4 [3 S% s% P# h9 y 4 U' G' H. O W6 F; l1 _) X" z5 h
我想一种语言并不会因为其他语言的出现而消失, " a3 s- a0 y9 F8 y 8 n' k; G3 A' U- _& H; z 比如说c与C++,C++与C#的关系。 6 P8 j( ^" z- _6 o" n; x6 _
5 Q7 q& d1 b7 }8 o& j9 D
所以我想讨论问题时首先是要排除敌视, 2 Y) f, S: Y1 v+ T: ~7 x, G& o
`2 N% s0 S" e' S( U! a 然后才是透彻的分析。 3 E2 s& \2 W# o+ b6 R
5 I3 N; T$ h4 f
IT世界不光只有网络,还有其他很多。 ! ^6 S5 ~4 {/ |: r* B. ^0 v
* p4 H9 z7 H( T( s+ T3 O: F
所以某些工具在一定范围内适用是正常的, ! v9 U+ V. J" Q+ B
6 N* ]! H# C$ S% C- i, Q8 ~
其实在国外, , o% B1 r9 b, g h" x
7 ~. N: a9 h1 c: d
SERVER端软件大都用JAVA,而CLIENT却没有多少用JAVA, ; y8 l! E Z% j" `4 {- O b7 t% R 6 x _( M) Q' e( o8 i6 s' ]6 V, l2 _ 这和速度有关,当然也与MS对JAVA的态度有关。 # w- L$ b! @& g6 n) l; X+ e
4 U9 s& p( a+ j0 g$ u% ~ 8 P: Q6 o5 p$ |) C* Z 不过我一直认为C/C++不会因为JAVA的出现而消失。 8 K/ A. h7 G% u
' H1 n/ X! W3 e: ^! A; m" {' u 就象COBOL目前为止还在使用一样, 4 z H z9 `; Z/ U% _) C. [2 p/ q9 h 2 }5 c! @2 Y) M! R ( T7 ^. ?. ], p3 C2 F( b2 e( n
不过以后会有愈来愈多的解释性语言出现,因为解释语言比编译语言的兼容性好,这 7 S. e' L$ A% N3 i9 D
是不得不承认的。 5 g8 | U! S- }7 w1 Q
1 C& D( |, j5 \' D% g% [% E7 ~
恶魔吹着笛子来 来自 http:// : ' ^ e2 P! f! N% S ' _& M3 X% D4 m* ^ 是的wenny.也许我说c/c++的消失有点夸张化了,但是实事求是的说.java和c#的出现 1 p% q% L7 R7 M7 ]8 L
$ T8 y6 e0 `5 W6 @. M0 x: v
c/c++的升级换代是在所难免的.对么. 1 V8 |: V S8 z; w
3 p ?; I% B# j' G* \ 恶魔吹着笛子来 来自 http:// : & D; Z. [1 ~' c1 ^# h
O y s4 j5 A7 |" ]( l: d; a8 Q" { 而且我一直认为java和c#不是另外一种语言而是c++的升级.就象是c到c++的升级一样 ; ]! R" s3 `6 i6 |0 |" s+ {- k.对不对. / W% |$ z1 ?6 u' U 4 t. E- r, E E' ~ xcc 来自 http:// : ( v: E7 r3 D! N- J1 a1 L3 s) I0 ]# @
6 H k1 ~6 \6 `+ j# A* b3 o' I+ I 同意恶魔吹着笛子,你简直是我的偶像,顺便贴一篇关于C#和.NET专访 ; L ]: C* \6 d- ?. V& L% |5 Q . L" n! V' [8 }% s NET and C# Questions with Jeffrey Richter ! J% {9 X7 F- P; [+ ?
& m S/ k, \ P. _/ y1 d In the weeks after Microsoft made a huge splash in the development communi 3 \6 E9 j: }0 |: x0 cty with their .NET and C# announcments at the July 2000 PDC, Jeffrey Richter $ b, m; J- ~9 M/ i0 [
accepted our request to field 20 questions from our readers about these new 5 G! W0 \& I% Q1 q
technologies. As many of you already know, Jeffrey is a cofounder of Wintel " J/ B8 x x( V" M6 Z
lect, a company that specializes in Windows & Microsoft.Net training and deb ' k( P: z! q8 ^% D( S9 x) j' ]ugging. Jeff is also a consultant at Microsoft working on the Microsoft.NET ( m& `- R& x. G* r2 J
Common Runtime Language (CLR) team in which C# and Visual Basic 7 applicatio 6 I; d+ U3 c3 p( P; m; }
ns operate. Below are the 20 most popular questions that were sent in and Je 7 K: y6 l+ S2 o% e& b. Uffrey's responses. $ h" d. s' V9 m% C9 S- z0 _3 [4 T( C
: Y4 X: y2 r9 o6 F6 W6 t9 G9 ~
For Visual C++ developers everywhere still trying to get a handle on all t * R+ q% w( K; ?9 L: U8 b: ^
his: Thanks Jeff!! - x- n) s" P5 G/ T% F/ l" q$ b9 h " N7 ^# `5 g: [) A4 F5 _/ } $ i. W, ^, l. c k& @+ g
Question #1 Is .NET a runtime service or a development platform? - }5 D4 \$ r- d+ i: h1 b' s + v, r3 A. t" s" |0 s1 P7 Z
Answer It's both and actually a lot more. Microsoft .NET is a company-wide , s: G/ E O! P9 h. A
initiative. It includes a new way of delivering software and services to bu , ]8 d5 q# D- F' z
sinesses and consumers. A part of Microsoft.NET is the .NET Frameworks. The / f! G% m, P9 l- ?' F" Hframeworks is the first part of the MS.NET initiate to ship and it was given , G, M ?8 i/ }- u out to attendees at the PDC in July. The .NET frameworks consists of two pa 6 [/ V `+ Z& p7 r0 a4 A$ {rts: the .NET common language runtime and the .NET class library. These two ( v$ F3 e, c- K' k0 P- z% k" N
components are packaged together into the .NET Frameworks SDK which will be 2 i& @; p) ], E
available for free download from Microsoft's MSDN web site later this month. 9 }+ ^1 d7 y9 E: D In addition, the SDK also includes command-line compilers for C#, C++, JScr % q* G0 }8 F6 a+ [* S7 Qipt, and VB. You use these compilers to build applications and components. T 8 x# e$ k! X: r+ g8 z% ?hese components require the runtime to execute so this is a development plat . B6 S1 ^) z6 h1 D3 O- t8 nform. When Visual Studio.NET ships, it will include the .NET SDK and a GUI e 9 z8 h4 j, s- E6 N0 O5 K* ?ditor, wizards, tools, and a slew of other things. However, Visual Studio.NE / i, R% C0 o6 s5 Y3 |6 HT is NOT required to build .NET applications. 2 z6 x# B( \" Q$ S+ z 8 D- F) g' d5 _. J! z4 |7 s
; v3 ?' [ A% R. P2 e
Question #2 How likely it is for C# to become a general-purpose (meaning: . k0 d0 B$ r8 |5 e( v( Y
not MS-specific) language and if so, have any other vendors committed to pro # h5 ~+ v/ C, X! X
viding compilers on any non-Windows platforms? 1 ^9 p' ~, b. k$ k; z ) Q6 B5 l& I+ m
Answer It's hard to answer this right now. I have been programming in C# a 1 z3 m0 v. P% z1 ]lmost exclusively for about the past year and I love it. It only took me a f ; z2 H5 f9 Z7 ^9 iew days to learn most of it since it is very similar to C++. It was designed 8 ^/ ?& P& @! P! Q; v$ B
to compliment the common language runtime and I think that it's unlikely to ' M! Y$ T* N* @8 m t
gain much momentum if decoupled from the runtime. However, you never know. & d# e5 D( v7 T
Microsoft is submitting C# to the ECMA standards body so any company will ea " B. f: T0 e5 `! ?6 Q1 ~9 fsily be able to produce their own C# compiler however, without a runtime, th ! d1 l" `5 H5 e' g( g8 _! Te compiler itself is not that useful. I'm not aware of any companies current ) j: O' D$ S' h: f! y
ly working on their own C# compiler. Certainly, porting the runtime to anoth 3 ?" U, S8 J& N3 i3 Ger OS is no small undertaking. ) |# c) D3 d- s$ ?( {
( T3 i9 _: N7 W* M3 S
- I& V s0 f8 D5 v
Question #3 Can you tell us specific practical problems that C# can fix be " \0 ]) r S2 w5 Z* W G6 m7 D3 R1 K( W
tter than Java? ( f1 B& i1 b7 K7 u3 \- T' m3 g% S 9 f: z7 c W: `$ n" x) {3 l
Answer I must be honest with you: I have never programmed in Java. I know 4 p0 b( L3 H1 Zwhat C# offers the C/C++ programmer: simpler syntax, components that seamles 8 {: L# \1 n- d. G/ J0 w
sly fit together, type safety, and so on. Other people should be able to add / `6 k6 }: X- X5 ]
ress the C# <-> Java comparison. ; ], z+ _% H- u% q4 b2 e 0 Q9 p" I. N+ J/ r
+ r. b5 q* z8 C+ y
Question #4 Will ADO+ be the preferred and most efficient method to access 0 M- F/ }, Z6 [( ?$ X, }7 q% x# V databases from C# or will it have it own (or .NET) class wrappers for the O ! F, C o' N7 b( h* O' wLEDB API? * D g1 _/ R# \' @/ G 8 I6 [, }( ~" C0 [( R Answer The .NET class library includes a System.Data namespace with many t ' L' \& v# Q6 k9 I* I
ypes for database access. These wrappers will be the best (and most efficien S7 i% _' v% Y: j( U( `* f' E2 a3 Pt) way for a C# programmer to access data. % f$ F5 |6 J% ]' w. B/ [5 g; Z& E
- }+ O& Y7 l$ e* i- M+ Y 6 D: g# V6 n* i1 q6 t Question #5 Can C# be used to develop Windows applications or is it soley 7 n, a4 ^4 Z/ W: a& h" V" R
used for developing distributed applications? r& r; W2 @) E- o, ~
q+ \) \3 [* Y+ s! M" ]; _% |
Answer C# can absolutely be used to develop classic-style Windows applicat - Z7 z! g' o v9 I; l6 e1 f
ions. Actually, this is more a function of the runtime, not the language. So ; O. a- P# D& H- _: j( ], the runtime supports console apps, GUI applications, NT Service applicatio ; k! Z C! ~' ?* `% pns, simple components which can be used in applications, web pages and so on + \& [ q! V, o
. You can't write a device driver but that's about all I can think of that t ' B+ R/ _! u1 x+ Nhe runtime doesn't support. 3 I# S- F: W( m
9 v1 \) u* v Q1 x, z' b0 z : C$ O' h8 u9 D$ A, l3 X Question #6 What is the C# relationship to WinForms? " a7 X, H9 C& q5 v2 Z . q/ K* ?& |) d4 B Answer Win Forms is a set of classes in the .NET class library that wrap W , e2 a! L2 Q% c
in32 windows, brushes, pens, etc. Any language targeting the runtime (includ : s( D5 s1 h' F e! w% _4 k" V) g
ing C#) can construct instances of these types and manipulate them. This is - k% Z* u1 P8 @1 l: G( d* d3 s% Uhow you would create an app like Notepad, Calc, or Wordpad. I know that Win & T7 @5 M* S- HForms has similarity to J++'s WFC library but I also know that there have be ; n! L0 X& O+ D' L+ @! wen some major changes. 2 g5 C" o; `1 ]( y/ R 2 F) {% |8 c% X * W3 ^" E4 |1 Y. Q- N K4 Q% l
Question #7 Rumor has it that the C# language has been submitted to the EC * _6 }- i( G& V1 f* F- X3 w, Q' \4 e
MA for ratification. Is this true and what impact do you see that having on ' ?$ _9 \+ J$ j4 y& ]other companies adopting it as a general language (such as C and C++)? , I! J l. ]& W1 _4 a8 W - A j2 A% d! Y0 T5 l0 v
Answer Yes, it is true. I pretty much answered this in question 2. & T' g& G. n, E+ j 1 o" x4 q: l6 S' `$ Q 1 z4 x; o* {$ N* d& K8 C$ C Question #8 Which will be the role of ATL and COM in the new .NET technolo + Q: s, ^# i* Y5 Y
gies? ( J" ^* s5 ] n& x( d 7 ]! n4 `, i$ U1 X' x0 B Answer The .NET frameworks offers a replacement for many existing librarie 2 S, ?! C1 w l' m
s, like ATL, MFC, C runtime library, standard template library and so on. .N * F; i8 f$ d0 J3 @9 [/ b! UET programming is significantly easier than using any of these older technol ' r p6 _8 c" Z7 {' }0 n9 Kogies. For this reason, I suspect many developers will move away from using * ]8 a. @$ K, G0 H( Cthe older technologies. The older technologies can buy you performance howev % B; s3 x/ ?% e, @/ K
er; so, some people that are very concerned about this will stick with what' - E" ] I) r/ u5 r
s around. As for COM, developing components with .NET is orders of magnitude 5 x5 Z5 M. x$ v1 R6 H. W- R
easier and the interoperation between components pretty much happens for fr # v7 t, q* {9 l& T5 H8 ]- F
ee. Again performance may be an issue for some. And, for the time being COM+ 7 t; x0 s5 q' c8 y! }
services, like transactions, are not being offered directly to .NET code. Y : M" c6 ]2 P, G) {# w5 Dou can still access these COM+ services but .NET code must incur an interope |! q& Q, d& e4 O2 W5 Z
rability transition, which translates to a performance hit. . P+ f, Q v" ~) }2 e
0 c5 a% Z, ~1 n" z5 W% a+ e 8 c) k5 T' q/ I0 x& E
Question #9 Why was the templates feature not carried over from C++ to C#? ' S* f+ j% M2 ]1 M# L1 g. _
5 U( \: c# ]- ?1 B6 F / F% `! ^ t+ I Answer Again, this is more of a runtime issue than a C# issue. First, temp 2 L% V$ ]0 ?5 P# L2 e
lates are difficult to implement and Microsoft choose not to do the work for 2 c* v3 N7 x% T; O" V8 C
Version 1 of the product. They may do templates or something similar in fut / H1 g0 j0 C6 ~+ B3 X
ure versions. Second, since the runtime is a multi-language runtime, introdu * |/ R6 B* t) \* r3 K7 ~cing templates means that all languages targeting the runtime would be requi 3 ]9 T* h* J( L' v. M
red to support templates in some form. There are a lot of issues here that n # @; r/ Z+ I: q$ o$ [eed to be carefully considered. 0 r$ [8 p" J$ M
+ V j$ @; W# u2 r$ q5 I; g5 m
* h' S. H6 e4 d Question #10 Will C# replace the pseudo keywords that clutter ATL COM code ' K( }: j! a7 {( H9 V
with real keywords? Examples: OLE_COLOR, BOOL, VARIANT_BOOL, and DISPID_XXX ) y* }, B( q8 W! BXXX. 9 @8 k! Y6 e( \: | % F/ {! d6 L% `/ f Answer Absolutely, all types have new names as provided by the .NET class 6 a6 [5 v1 W) q' C, J8 ^library. ! y9 P% n9 L" ^3 P7 S, u
* o. N @: L5 l$ B2 T " r' x- ~" s/ b" N
Question #11 We've seen managed extensions, but aside from that, what futu / a# \. }1 g# t- a
re does C++ have at MS and in .NET? ; }- L2 \5 N& T" f
% [4 x' G. A! j8 Z7 S4 P( v
Answer C++ is unique in that it is the only Microsoft language that allows - K$ O& W! Y! R3 h+ E8 ?/ R the developer to write managed and unmanaged code. So, I can easily see dev 1 J9 E0 j" o/ V* {
elopers writing in unmanaged C++ for performance-critical algorithms and the ' B; ]( x4 R% K
n using managed C++ for type-safety and component interoperability. I'm sure * o) [2 Q8 q" ?$ w Microsoft will keep C++ going for years to come: device drivers need it, Wi ) w* j6 i+ n' p0 ?+ Y7 U' indows is built with it, SQL Server< Exchange, and other BackOffice products + N2 A |9 e3 cwill probably use C++ for a long, long time. ' S! y( k( p; L/ P. w 6 ~$ x* k! Y* i 9 J+ p. l' J/ S [1 s+ [, O+ _! x
Question #12 If .NET supports ActiveX/COM, how will security be assured if # ~- ?) n4 o0 E! C a C# application runs from within a browser? , s$ h: K5 d' P& }- c8 J' {1 J( g+ d
' Z8 W- A9 o# J% G Answer The .NET runtime offers code access security, which allows an admin 4 q: J: Y9 h3 ^" }0 K G
istrator/user to configure security based on code identify. By default, any 0 P) ~4 K9 C4 f- j2 v# Zcode downloaded via the Internet or intranet is untrusted and will not be ab - C' H; }8 n; A3 p$ zle to access files and other resources. In fact, when I build a console appl / l. A+ j0 x n5 G0 `8 u- Eication and run it from a network share, I get an exception when it tries to 6 o3 \, w/ }/ A3 P3 Z+ S. ]% P
access certain resources. If I copy the same file to a local disk directory : j6 }" {5 d- Z2 s0 J2 Q( H9 ]
and run it, it runs fine. Code access security is integrated with the runti ; A. m W; k+ V% H' r
me and is too deep a subject to cover here. 8 ^6 l& N, v+ S) }
$ r3 o B# ]% f4 i1 r5 g6 C 2 T7 g* J( z9 h3 L) B7 n: S
Question #13 With regards to the .NET runtime, do I need it on the machine ( g, A1 L i8 H that I deploy C# apps on? 5 F. C- Y3 _8 f3 T k' R , W" A4 t, U: b7 D/ P$ W
Answer Yes. All managed apps need a manager; the runtime is the manager. M 9 b- }; E+ ^ ]6 e$ ~9 `' X
icrosoft will eventually package the runtime so that it is freely redistribu ; X# y" k4 k& B! `2 R& J: u$ zted. For now, end-users will have to install the full .NET SDK from MSDN web 3 S- N2 U- b! S
site (when available). This is similar to how VB developer must ship the VB - b5 i, M+ V8 w( t( U" E runtime today. & `# e7 V7 @0 a- D1 @ & J9 j* _1 s- Y$ i , N R9 U8 N7 j( G
Question #14 There has been mention of being able to derive C# classes fro 8 ^3 K0 J* F# ?$ B& ~m VB classes. Is this true and where can we see an example of how to do this $ ]+ t0 h9 J7 f# ^' m
? & B. [- z- b6 Z) a( D; @& _ [ ' a& ~( S7 q1 B9 }8 ^6 @* M3 m1 P
Answer This is true. In fact, any language that targets the runtime can de 0 \: f! E" e! ]: ^
rive from any type created in another language. Also, the Visual Studio debu ! V6 v5 W4 f2 G8 m7 a5 Fgger fully supports debugging across languages. Each entry in the call stack 4 ~' s4 B, G2 w0 ~ window shows the function on the stack and the language that the function w ; A# |2 k$ R Y' G! F- t' ]: Ras written in. This is very cool and got a round of spontaneous applause whe 5 X, ~, K: J' F, k) q8 H, O+ S1 bn shown at the PDC. There are samples in the .NET SDK that demonstrate how t 4 U) F/ T0 E9 q
o do this. It's really quite simple. Actually it just happens, there is noth 5 m* Z9 G3 D; ^
ing for you to do. You can also throw exception across language boundaries a & t- ^5 M& o4 r& q( S
s well for error handling. " T# n* c" O9 ~$ h & Z0 I( s+ j: a& | ) W, d6 Z" `2 W Question #15 Can I derive a C# class from a C++ class? If so, how? 8 C! l2 S9 l0 V$ f4 z1 y 5 z1 w: Z' u/ \: Y+ R* E Answer Same as the answer above: Any managed language can inherit from a t 1 j! a2 g) A+ }: B" _ype in another other managed language. If you use native C++, then you can't ' ~, n( ?; @4 ^$ T- p2 v do this, however. ) z4 c8 N1 W' X8 E' X' e
3 ?' g2 F8 Y& L4 d
3 Z! H9 w4 q5 v# ], ~$ G
Question #16 Will the new version of MFC have the option of working in a m + l4 }1 `8 ]2 Q" n* k2 e6 danaged environment? 1 B- A+ }/ Q. ^- D& C5 R ; D6 ^. [: B6 [0 c0 _1 T Answer I haven't been tracking the new version of MFC but I'm pretty sure ' M6 R* t! b* }2 H& e% X- a* \ F, hthe answer is no. MFC is all unmanaged just like it has always been. For man 7 s3 `1 @8 z5 f0 r, M; [: n/ r, X
aged applications, Win Forms is the window manager that people should use. * B% i- d/ \+ n& p - E# h, @5 S6 \6 \% S 5 E3 P; ?5 h. U- v( Q6 m6 w Question #17 If the new version of MFC will operate in a managed environme - |: h0 ~7 p: t& k
nt, will it have the option of building desktop Win32 apps and not needing . - D2 u; j$ l/ r, l& w3 }NET runtime support? % [4 ]/ E4 Y& k# d4 `5 m
1 v' V2 V: _$ `8 A, f s
Answer I'm pretty sure MFC is unmanaged and will never require the runtime ' r0 n/ r2 Z- m8 G. ! f* y/ ]8 y2 v" H. B; ^ 5 Q( `1 m1 f; ?# C# w) }/ m) k - g: |! t, k9 i3 e# x. x3 }$ @ Question #18 Stroustrup has been quoted as saying "I have not expressed a 9 H Y" k( w; a8 |/ ]' Q
technical opinion on C#, and I don't plan to do so. C# is yet another propri 6 B1 E9 Q* ?, F% ^$ uetary language specialized for Microsoft's Windows system." Do you agree or & h6 q7 Q: a- V+ s( j
do you think C# is more of a generic language open to other platforms? + F+ @" L4 I0 {8 ]0 L" p9 e
9 K1 Q- m* U) o Answer C# is a language designed for the common language runtime; not Wind ! P+ k% h$ U; w# y/ _6 Oows. The CLR can be ported to other operating system like Linux and Solaris ' r2 P9 {* J) w2 D
and if the CLR is there, then C# will probably be there as well. In the gran / j9 Y) m( v& O- D- G8 R0 k id scheme of things, C# is not that important or interesting. It is a syntax 6 @ A; a( Y3 e, e! w7 Wchecker that spits out intermediate language consumable by the runtime. You ! a5 T# Q% e* b# \can love C# or hate C# - your choice. I happen to love it and think is the b {5 m( ~, h, t8 R9 u9 n
est programming language for the types of applications I write. 5 Q" V9 l- O, V ; L3 [$ j N/ I! s) J [+ R# U
6 m ~1 k" g8 \( ~# }
Question #19 I heard a rumor that VB7 will allow static linking of the run + h& q8 l; R( A3 S: Ltime, like MFC. Is there any truth in this? If so, will C# also be able to c . c, L* c. p- M9 Breate standalone apps? 3 r9 u: R: G. ?' K, _ $ ~4 m$ o3 P- m6 T( `# G
Answer This is absolutely not true. No language will able to statically li , M @4 v& q' }: P
nk to the runtime. 6 J% @& e% u% W, M+ R: X5 [9 x
% i7 e- [6 W4 h2 t
: a9 Y7 P& B- q0 V Question #20 Does C# still use resource files? If not, what mechanism is p 7 {. i3 h9 q) m6 ]/ [* d& \. ^; g6 xrovided to allow for localization? / b8 c; _$ B1 J) |; y- n) z
+ N( G& o1 U# @$ n Answer The .NET frameworks designers have created a new resource model. Re - b7 R3 A) l# e2 \+ }/ g) N9 Dsources can be embedded in EXE or DLL files the way Win32 resources are or r + a2 B4 Y2 m3 h3 U5 R
esources files can now be stand-alone files like a single jpg or bmp file. T 3 r4 G! e B' { @/ u+ x
here is also the concept of fall-back cultures. If the Swiss German resource 3 e( ~- H' g$ {( Y
can't be found, the runtime looks for the German resource. If the German re $ G0 z# B- q( K; b. @8 f) J$ I
source can't be fond, it looks for the "default" resource. Each language wil ' ?2 \+ }' L* y
l typically be built and shipped as a separate assembly rather than packagin ' f/ R1 E! N5 E9 D0 O' v* Z
g everything up into a single file. Like code access security, a full discus 3 n9 g1 m( P! S' B, E$ dsion of the new resource model is too much to put here. + d) l3 T8 H3 t6 ~. U 4 o! F* e- a) p# g6 n3 u+ z9 i 3 {6 E$ p7 d& U
' l" B% o0 T: U3 V( a+ \ 3 v& b7 Y% p9 Z0 A M
wenyy 来自 <a href="http://www.vchelp.net" target="_blank" >http://www.vchelp.net</A> : ; n2 Y+ {& X7 a, l i* F
) @3 g+ \; Q1 T3 C% r7 g
我想应该这样说,一种新语言的出现会在一定的功能领域上替代其他的开发语言,以 , q+ L7 d0 M# ~前的开发语言的使用范围会缩小,但不会消失。(就算是出于保护现有资源的目的) & Y* K) d/ s; j8 f$ d# `7 n& y
* f5 ~/ n( \9 Y' N
但没有一中语言是十全十美的, 3 M6 ?3 R; a" W# g$ `' i
# }- ?: t1 ?( Z" x: Q JAVA,C#都不是。 % F. `6 q) p$ E& p) h& t/ L- I
' M5 D5 E% J2 P, k4 N$ r ! x0 k: S8 \$ T * V: \! B' ~5 {# z
wenyy 来自 <a href="http://www.vchelp.net" target="_blank" >http://www.vchelp.net</A> : O0 q: J0 X: E! o+ N9 }
- R. c& i8 P. Y8 F/ h8 E 》》恶魔吹着笛子来 3 n) _" E8 {6 `6 G - E2 L% U) _7 ]1 e 你好, 0 q. L$ B5 n4 } I9 o
0 t; g+ }. z8 W5 j
很高兴能够与你进行讨论, 1 o0 ^, o& N( J/ I/ R$ E
/ J R9 ~! E3 r$ @. ^" r
虽然本站名字叫做vchelp.net ! x! Q8 B/ o/ Q' t* e7 L; @ ) H5 v, D( k. C
但我不排斥其他的开发语言,只是自己的能力有限不能将本站内容扩展到其他的语言 / b* J2 |6 x7 t4 L# t- k
, ; B: Y6 F) b0 k- q% L6 j 3 N- T0 f0 s$ f/ m' O
但我很希望大家在本站对开发中可能遇到的问题和矛盾进行讨论,不论是关于语言还 3 ]1 R8 z6 V# O9 w# n
是开发方法的。 4 F/ Q& }+ i. T5 i3 {% W, }
$ b% U/ O2 k, L0 H; ?2 d# Q" L 我想邀请你成为本站个人专栏的作者, 3 }8 y, ^: p$ P6 S0 U 7 H+ r* {2 I/ @$ m
你可以发表一些你关于开发的想法,就算是与VC无关也没关系。当然在时间上也没有 $ B+ |0 P) J( K- D0 p4 C8 U) t
要求,你有时间就写写。 ( b' t' o8 K2 J! t7 } 1 v5 H8 K5 w B ?) @ 盼复:<a href="mailtwyy_cq@21cn.com" target="_blank" >wyy_cq@21cn.com</A> 9 a! j( R$ D* ~+ q' E A( f7 S& r) M4 K, X! h7 z' H cuixue 来自 http:// : " c- O5 |% X# o8 {1 S9 E$ k
9 r1 g7 W; X/ X% }1 \. P& G" ? 看了各位大侠的话,觉得好像在讨论java,其实历来有两派,smth几乎天天在吵, $ L1 M: z4 d$ V# W# C v% q 8 B8 x0 }, r- G6 T# x
喜欢java的同志到各个地方布道,连perl也不放过。呵呵。我个人觉得java先天有一 ' d- d% W! z6 x" ~* l& w2 j些劣势使得他无法取代c/c++的,他的垃圾收集只不过通过一个线程来完成,这对实时系 + C% v1 _) D/ f L( t3 i! Y
统是来不及的,EJB的推出也说明java原来是不适合企业级开发的,没有语言是天生完美 . J2 k9 ^/ X: N6 h! r的。java最大的困难我觉得来自microsoft的刁难,c#的推出无疑会夺走windows平台上 1 k0 f0 j: t2 D的java份额。java的速度也就不说了。jbuidler的速度不能够忍受阿,可是这样一个产 `3 p+ \& y X品就是java写的。由于个人见识不够,实在不能理解海量吞吐的 ( E; w" x1 k" D / F- H0 U8 f: T4 u I1 o
server用java.oracle用java是实现了ejb的集成把,他的数据库engine是不是java 的 - i$ i1 m" v, T# w. X1 J9 Z" D
那?请大侠指点。而且当时号称8i不要操作系统,结果市场反应平平,还好 5 d: |: c: @1 R! g+ Z
Z# x( \* v; x7 ^+ h$ p 搭上了e-commerce这班车,:) 6 `0 E% E2 v! m9 I4 f& L ! D$ p* `; J! c0 O9 M! o
在说说我对vc和bcb的看法,这两样我都算粗粗用过,紫云影说得挺好的,比较公正。 7 s" J, {* S+ _ l7 IMFC的确稳定,ATL未免有点复杂,要不WTL就不会出来了。vcl的源码有一部分是pascal ! V; x) V: O; ^. u9 b U写的,这点有点差,不过他的扩展性很好,用用就知道了,决不是好多人认为的vb式的 ! H% U2 q) b x D, _2 ?/ y
傻瓜工具。道理很简单,应为他是符合ansi标准的c/c++语言。其实vc是不够ansi的,C 5 u; \) ?7 Z |' a2 L- Z5 F/ J8 ^
String就是不符合的,所以bcb用了 AnsiString.可惜bcb不够稳定。 - C" H6 J/ I3 H: a 9 B' g: ?+ d" z( h) R' O 提示太慢。帮助的问题我是这样看得,msdn不是专门给vc的,他是windows开发的指南 & U1 O: k, b2 |" v3 B2 ?,用bcb一样也很有用,是个宝贝。 $ {5 }+ @& S. K( v A' M8 R; w2 {* N7 \
好了,不说了,反正按需所取把。 1 i6 E) x7 `& A / k- ?7 b4 C/ w3 w8 B cuixue 来自 http:// : 7 }$ |- C' T5 s w& E0 e- g j% r 8 J; c" `; X% t6 e; y" y xml远程调用无疑是平台无关调用的一大进步,可是这也不能说corba就要消失了, ! w( `4 X. o- v( a/ {( w/ S " s. M' T. V' d$ ?* R4 ^% s9 f7 B xml这种标记语言虽然提供了强大的标志检索的能力,可是它本身的缺点是与以前系统 . O4 q( X# F/ K- R2 Z) o0 X. A
的兼容性,所以最近推出了xhtml以兼容以前的应用。电子商务的应用有不同的类型, 1 [- g8 m# }5 B6 P3 N3 W: h 6 g; L( F3 g# e& j
对于一般的b2c的应用,sun e1000上跑跑java或许可以,如果是银行的主机,起码 ( \% }8 `4 ~' P: c1 I6 V% ]
0 G- o' [* m* l" U
1000笔每秒,java是不是可以 那?硬件的提高不是没有限度的,而且现在数据中心和 ( J% q" z' q e; p5 K* E( |9 x
OLAP的流行,对实时的要求更高了,实际上对于单位应用硬件资源并没有什么起色。而 $ G* o# {( C( C
且数据发掘的应用要求对原有资源的兼容,对于中间件而言java开发是有优势的,corb % R% x9 c: \4 E- |, i& V H3 y
a提供了对异构网络的良好支持,ejb也在向它靠,毕竟在这个年代,不可能只存在一个 , o$ z/ d' D4 K+ C+ M3 R# Z系统,一种语言,对自身的改造和对异构网络的支持以及原有应用的支持是每种语言都 & \4 X+ X W$ O! i( U, @) i) {$ J要面对的难题。 5 D6 x5 Z; `# ~: T' k : T+ d7 t/ T$ R" F- w
" j6 M% ]' a( U4 u4 s. ] S
' u" ^9 n. j# Q' L, r
杨宁 来自 http:// : 5 w1 A5 W G2 p z! _/ F7 A $ ~8 h/ Z8 L) n) y. ?' s8 `& Z3 i4 ~ 世界是多样性的世界。 ' V: ]+ X% c* d
- f4 L! k( X- `+ l- l3 M 不面向应用,一切都是废物。 0 B) Z+ `( E, s4 o$ E / O- ?" l7 {" t B, C 学好编译原理和操作系统,以不变应万变。 / Y4 ~# o* v% B$ [) ]& r 2 ]. f1 D+ f3 I% c! T1 L 人的精力有限,面面俱到等于面面难到! - Q; Q+ ], v: I
. [- u; y/ m8 H 妖刀 来自 http:// : 1 {; F V" L/ u7 \0 {1 p/ Q6 D, G $ F5 c' C G" J; g4 d/ b
我不会编一辈子程序,我需要简单,快速.我只要他好掌握,能实现功能. , W0 D! O( P/ ~' ? 0 M4 \8 S: N' d0 _4 }: G 至于是专家型的C++还是傻瓜型的VB(Delphi也差不多)我不在乎. 4 ~! k* E- x, K: }( W' l5 M
' I. @2 W$ ]2 q, s1 b9 b 老板也不在乎 ! H2 z, a7 X A) O! d+ D
, c* R$ e% _8 ? T; x2 D% [
TOM 来自 http:// : ( ~, ?% S8 |. B5 j- S ; E2 r- h+ Y5 S0 X 用VC++和Delphi都各有千秋,Delphi写界面方便,大部分是写数据库程序。但写出来 2 J0 I+ P5 s9 j* @+ v6 g- U
的程序太大,如果做一个组件(为HTML写的)还是用VC好,有句话很好,专业的程序员 1 {- R; [0 ^8 e8 [; k用VC,聪明的程序员用Delphi, , G- a! b( ?# O# x. A. L7 i ! C% R/ i/ {2 a* u/ [) b0 b1 L TOM 来自 http:// : $ B& {; c! F% R# G3 h& e: w0 G a2 v2 B" J) J( ~+ u2 I4 L 用VC++和Delphi都各有千秋,Delphi写界面方便,大部分是写数据库程序。但写出来 $ ^- ?* A2 V6 n% X) h5 S, ]
的程序太大,如果做一个组件(为HTML写的)还是用VC好,有句话很好,专业的程序员 ' O1 G! o$ G! ?! f9 |
用VC,聪明的程序员用Delphi, + o+ c1 A( T D $ x5 U3 V% \6 N1 r9 G4 p7 N
宇服 来自 http:// : ! R$ d/ Q5 w+ P) {& {$ q% v6 t) P
% J# d9 C8 e2 [$ J* Z( e3 v: d 作为一个真正的程序员,不懂c/c++ 只能与非专业人士一样,改改属性来作程序罢了 2 u* B) ^5 l+ p( ]+ j
。 n: l# s, Q& p8 ]1 Q% C3 D 6 Y4 o# x8 _6 M5 C V6 J: i
宇服 来自 http:// : 9 ]% ~. d6 r. _* [+ V, c& I: |: ~
# ]& O! {0 w" H+ ~/ u+ J 恶魔吹着笛子来的话太可怕了,世界可能只有java存在了????? 1 _8 y( _- s; ]% ]3 g
1 e. v+ O) j& _* v g7 {$ T+ a
0 T: h0 G& b' W- O ' Q, Z. r' K- T" K$ O% Z
wenyy 来自 <a href="http://www.vchelp.net" target="_blank" >http://www.vchelp.net</A> : ( l. `2 ] T- p: `6 p3 e
+ D, s6 I) E; h9 h D/ f' q 我很同意杨宁的观点 2 O0 l! t3 J0 a
7 O" A5 @; S! G 》》》世界是多样性的世界。 不面向应用,一切都是废物。 8 {0 s: D v" x* c# `6 [; b( [ ' O. q* r* W$ h: S2 d0 N" ?0 e
2 V$ x: _4 J0 T R* c3 f 3 B, C; q! N/ \4 f
苏 来自 http:// : 6 S1 Y7 d$ E! f3 I 0 Z* |& d, C1 y# B
对于DELPHI跟VC的争议已经不是一天两天的了,要理论它们的长短处确实比较困难. ! {# E' ]0 k3 {! J4 ?
- i! m u' p' r
作为比较出色的RAD开发工具我认为是DELPHI,VC是称不上RAD的!对于编程者而言,如果 + B; [4 k# l; g2 w5 W' F1 i1 \4 z是低层的东西用VC开发具有明朗的线条--一句一句来,而用DELPHI就必须借用API了(当然 ' G' j0 ]/ D% Q) I- r0 p# P
用起来就不是很方便了);而对于从事数据库开发DELPHI不失为一个好工具!我觉得两者各 : [& N5 H9 } X# g6 p, i, C有长处吧! 8 g, l: A" M1 j2 q3 M
6 P/ f2 j+ x& u9 y 雅各宾派 来自 http:// : ! L. p1 G6 N# n8 M' h ; w& t* Z1 N* n+ g; X8 n 呵呵,明朗的线条,此言得之。 & m7 u0 k: I3 }; ~/ K: N1 d ; D: D& l( L' x5 @, D% y0 f7 D
Hintell 来自 http:// : + J$ k" z! ]' l( x0 u 0 ~$ [4 Y" N% R2 N 我爱JAVA,如果不是为了谋生,我立马放弃现在的UNIX/C PROGRAMMING,不过幸好搞的算 - _3 w5 ~/ L8 a4 U- s4 L
是交易中间件 / I1 E" l: V8 @ ! I# ^/ W7 X" W! s6 @$ \ JAVA是个好东东! # i! d! Y3 B( k0 d( | % [9 r" [8 E! M6 H. S( }
恶魔吹着笛子来 来自 : 9 Z2 P( r D, ^ T
0 N l% Y% ^6 o0 `% c 我从来就没有说果,只有JAVA会存在.我只是说,将来的很多我们熟悉的桌面应用都要以 \; ~9 L5 t7 z
WEB服务形式出现(包括我们的现在常用的office,windows,visualstudio等等),而客户端 0 X% b# m: G' r; O( @
仅仅是一个外壳.你没有听说5年以后ms将不再买osftware,而是靠买网上的服务(office 1 Q7 Y) V, t& P" H6 F; J.net,windows.net).这个时候我想传统的c/c++的应用范围就会小的多,而c/c++的升级版 5 {0 G% g$ l( e7 |0 H" p本类似于java,c#就是主流因为他们是为internet设计的而c/c++不是.还有我认为,java - U4 h! d: E( L* F& C
,c#和c/c++不是对立,要我把java,c#和c/c++对立起来,我宁愿 + l9 E u4 o: [+ s9 P1 H. L
2 C1 Y5 V% F& d6 O1 X7 j
把java,c#看作是c/c++的一种internet延伸和升级,使得c/c++更加符合internet的需 * y# m4 H# Z9 ?5 D要.我们用java,c#的时候我们很大程度上使用了c/c++大约60%的legcy功能,我们能不感 7 O/ D& E( z- t5 a }
谢c/c++么.我一直强调的是java和c#是C/C++的衍生,我们在用JAVA时我并不感到是在另 + D# O' u3 [- m
外一个世界里写程序我感到的是我仍然在C语言的世界.我想我们不该 , `( D3 b' f$ S- `- y: e" O) l6 E 1 d9 a! x' ?4 Y" E0 R 有JAVA,C#和c/c++语言的门户之间.有可能的话我希望称他们为c语言族(c/c++/java| " x; k- g6 |" h% k+ c
c#). , E* K/ X+ r/ G
8 ~9 Y# t$ Y/ g 有了这个前提,用什么工具去做就看你熟悉什么工具了,看你的工具能不能 ; ^6 ^+ K! R" n [# f& v6 x : S1 D2 n5 ?8 \8 }, \% \ 满足你的设计目标,有限制就选择别的工具。就这么简单,有必要去争论用 : G2 a( e1 @3 Y! Q . `' m2 M* X/ N 什么工具吗?应该是争论一个软件的创意和设计有没有前途,而不是先去争 % ^4 Z- d+ V, `% g9 I& ]6 \$ T, } D 9 s9 A1 E' M. [) Y0 w: I 论用什么工具。每个工具都有它的优缺点,主要是看你是否熟悉它,它能不 # P ~! r0 _+ j7 q! C$ H# Z
( J. V5 P+ H7 w/ O# x: ` 能顺利实现你的目标。如果不能,没办法,选另外一个工具。做界面还是 ! [9 n' ~; t4 u9 r8 ? {) ? \. Y
* F% x- N3 i2 G( ?. a0 W8 J/ w
DELPHI合适,做高效率的通信,还是VC,要做大量涉及SDK或底层的东西,还 7 v1 H* C H0 k* d" U* s* } + G9 f$ {" ?* b) `6 x* F
是VC,就看你项目的目标是什么,而且是每个目标,不是其中某一个目标。 * z( p9 o, Y F. l! E ( }& [0 o0 E5 X. N. c4 a# L 中国的程序员都受中国教育的限制,老是在一些细节和工具的层次上思考, 6 W' U, }" j& s
4 s) T& {: W z# A 没有在全面的系统层次上思考,在整个计算机技术、通信技术、软件技术的 ) g J) ?) Y4 |! R
4 \( {; G; ]8 x: B4 a 整体面上思考问题,才是中国软件技术进步的道路和方向,而不是去争论用 , q, i% z9 m9 y |, f 9 m& O6 P. P4 ]+ f 什么工具。另外,本人认为VCHELP网站在中国还是办得不错,但欠缺的是整体 ' Z s" B7 M& R. x" h) J6 ^8 \3 U% v