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