C++/JAVA/C# 徘徊
过来之人,全面给你分析,彻底打消你的顾虑.
本人当时是主修java和c#,自学c++. 推荐你学c#
先说java,不建议选,如果你的需求是终端方面的开发,我绝对不拦着你学java.
java对于web方面的贡献就是JSP了,架设在tomcat上. 各方面也到是非常成熟.不建议你选原因如下
1 适用性小,一般大型企业或者企事业单位会用到,但是近年来有点跟随asp的节奏.目前市场上web开发火热的就是php和.net(c#)了.
2 c#相比php开发流程相对简单,入手容易,上手快,开发周期相对较短
3 服务器成本较高,目前支持jsp的web虚拟机很少了,当然你可以买服务器自己部署tomcat,说这点就是说jsp起步较高
4 pc winform程序开发,java和c# 在应用程序开发方面都是基于虚拟机运行的,java需要java环境,c#需要.net环境.但是二者相比c#大占优势. c#是微软自己家的东西,在xp以上的所有系统都自带了.net框架,就是说你写出的c#程序就如c++写出来的一样,直接发给别人就能运行,xp现在已经停运了.java就比较吃亏,想象一下,你抱着一颗火热的心,写出一个非常好的程序,结果发给你的小白朋友门炫耀,人家都给你的回复是这玩意打不开啊,于是乎你花大把的时间远程协助帮人家按个java环境,程序虽然打开了,但是你的朋友们都会想,这丫给我按了什么,会不会影响系统速度,我得找个人帮我卸载掉.
5 java和c# 属于一个级别的语言,面向对象编程,语法一致程度有90%,包名 函数名一致程度能达到70%,说这个的意思是告诉你,你学会c#,玩java已经无障碍了.c#是微软的东东,对系统api支持很好.java略复杂. 举个例子,c#很容易能调用系统任意一个底层api,调用c++ vb delphi等写出来的dll,java略麻烦.
6 网络编程方面,这2个语言没啥可比性,c#能做到的java同样能做到.比如你逆向了QQ协议,自己写个qq出来,2个语言都可以写,最终面临的问题还是环境问题,c#可以很好在任何一台window运行,java需要安装java环境.
7 后期拓展方面,你现在想着是web开发,网络编程,但是现实总是有差距,万一以后你做不了这方面,需要做其他方面的工作.相比来说我认为c#还是比java有优势的,可以大部分兼容你以后的各种需求和工作.不论你做什么类型的编程,比如说外挂吧,c#环境需求方面还是比java强,你写出一个外挂卖给客户,总不能要求你的所有客户都装个java环境,在移动终端开发java就比c#占一些优势,比如安卓.不过现在c#同样可以去做ios 安卓开发.
c++,这个做不了web开发,学习及开发难度都大于以上两种,优势就是不依赖平台.这个不多说了,我的同事或者朋友,但凡c#能解决的需求,肯定不会去用c++去写(他们本来都是做c++开发的,现在基本都转c#,只有一些特点的需求c#干不了的才会重拾c++).
需要你的10分升会员,求采纳