萍聚社区-德国热线-德国实用信息网

 找回密码
 注册

微信登录

微信扫一扫,快速登录

萍聚头条

楼主: smsusd00

c++ und c#

[复制链接]
发表于 2007-2-13 18:34 | 显示全部楼层
原帖由 w3gogo 于 2007-2-12 19:38 发表
至少在德国我知道的学习好的学生去微软的不多,倒是那种混的人,去微软 ...

不是说学习好的就一定要去微软,人各有志。
但是你说混的去微软,那么也要有点本事混才行吧。至少英文水平就不是一般的昏昏。
别搞的微软象超市一样,想进就进。

原帖由 w3gogo 于 2007-2-12 19:38 发表
要重新换一套硬件来装vista, 一个人还好, 如果是企业里大面积的升级, 不知道哪个企业受的了,
而且, vista 的对以前的软件很多还不兼容。 笔记本还好点, 可是要装vista 的笔记本, 也要不便宜吧。

但你光因为vista对硬件要求高,就说它烂,也没什么道理。
现在电脑都很快了,为什么不能让操作系统充分利用新电脑的高性能呢?
这个就和你买个500欧的手机放着当闹钟差不多。
而且windows出来也没逼着人人都得升级,本来就不是免费升级的,高兴换才换的。


已经有点偏题的。不好意思。

[ 本帖最后由 ourgame 于 2007-2-13 18:12 编辑 ]
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2007-2-15 11:56 | 显示全部楼层
原帖由 w3gogo 于 2007-2-12 23:53 发表
俩个人一唱一和,算了,
各人有个人的看法, 觉得好笑的话,我就不在这里多说什么了, 收声


别收声, 虽然觉得你的观点有一部分太绝对, 不过有些讲得有道理, 支持不同的观点出来讨论 !
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2007-2-17 14:55 | 显示全部楼层
原帖由 ourgame 于 2007-2-13 17:34 发表

不是说学习好的就一定要去微软,人各有志。
但是你说混的去微软,那么也要有点本事混才行吧。至少英文水平就不是一般的昏昏。
别搞的微软象超市一样,想进就进。


但你光因为vista对硬件要求高,就说它 ...


确实有很多人去微软,有好的,参加亚洲算法大赛拿奖的,也有凭关系混进去的,那个得奖去微软的,不是他想去,而是微软给他的Offer,工资很比较有诱惑力,而且他家是农村出来的,所以当时我们也建议他去,而论到技术,在国内的话,真正有水平的,都是在中小型公司里面的,或者自己开公司的,他们挣的比微软的要多一些,但不是很稳定,但很多人就喜欢这样的生活。在中国太多人还是考虑工资要多于自己的爱好。所以做出的选择很多也是不得以。

微软的一个最大的毛病在于,实现同样的功能,它浪费的资源比其他的操作系统要多得多,而且很多现象是无法解释的,也无法找到原因的,包括微软自己。比如一个经典的问题是窗体的自动消失,谁也不能保证他的窗体,在一两个月以后是否还在那里接收用户的响应。

用工资去衡量程序员的水平我觉得是不合理的,就像移动的网关拿着工资比网通高,但往往它们连路由器都不会配,其根本原因在于移动处于垄断地位,就好比微软一样。所谓奴大欺主,店大欺客,拿着操作系统捆绑IE还有什么好说的,正是因为这个世界上有人用微软才会产生这么多的问题。

另一个问题,请教一下懂的人,不明白为什么需要有C#,有什么功能是C++不能实现的?换句话说C#有什么优势?还有指针么?

$汗$ $汗$
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2007-2-19 02:15 | 显示全部楼层
原帖由 eisenstange 于 2007-2-17 13:55 发表

微软的一个最大的毛病在于,实现同样的功能,它浪费的资源比其他的操作系统要多得多,而且很多现象是无法解释的,也无法找到原因的,包括微软自己。比如一个经典的问题是窗体的自动消失,谁也不能保证他的窗体,在一两个月以后是否还在那里接收用户的响应。


只要进程不crash,不发生内存泄漏和非法的内存释放,那么事件列表和事件分派就一定是正常的,窗口就一定能接收事件响应,假如发生了进程crash,内存泄漏或者非法的内存释放,那就一定有迹可查,所谓无法解释和无法找到原因是微软的官方回答吗?还是网上一传十,十传百的“秘密”?。。。除了真正进入死锁和crash的进程之外,长时间处于非活动状态的进程(比如你说的空置两个月)“没有响应”并不是真的“死”了,而是由于长时间处于非活动状态,被写入交换文件去了,而重新读入内存并恢复到原来的活动状态是需要时间的,可大多数的用户却会迫不及待的按下Alt+Ctrl+Del,然后调出Taskmgr来终止进程。。。我原来呆过的所虽然不大,但也有超过一百台机器,windows网络的两台Domain Controller除了系统维护,软硬件升级之外一般都是不关机,也不重启的,一个窗口几个月不关闭是常有的事儿,但是你说的这个经典问题我倒还真没听我们那网管抱怨过。。。

至于资源浪费,首先得弄明白一个问题,实现的功能真的是一样的吗?至少Samba我就不觉得比微软自己的Impl快到哪里去,linux下常用的几个浏览器Konqueror,Firefox,Mozilla等我也没觉得比IE快,倒是Windows下运行Opera让我觉得确实很快。。。

原帖由 eisenstange 于 2007-2-17 13:55 发表

用工资去衡量程序员的水平我觉得是不合理的,就像移动的网关拿着工资比网通高,但往往它们连路由器都不会配,其根本原因在于移动处于垄断地位,就好比微软一样。所谓奴大欺主,店大欺客,拿着操作系统捆绑IE还有什么好说的,正是因为这个世界上有人用微软才会产生这么多的问题。


薪酬水平和垄断地位倒应该没什么联系。至少在德国,大公司的Tarif一般比中小企业要死板得多,甚至有不少中小企业给高校毕业生的薪酬水平要比大公司的高。

原帖由 eisenstange 于 2007-2-17 13:55 发表

另一个问题,请教一下懂的人,不明白为什么需要有C#,有什么功能是C++不能实现的?换句话说C#有什么优势?还有指针么?


这个问题。。。$汗$ 。。。如果单论能实现的功能,那么什么高级语言都不需要。任何高级语言能实现的功能,汇编也都能实现。。。
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2007-2-19 15:00 | 显示全部楼层
原帖由 小牛军队 于 2007-2-19 01:15 发表

只要进程不crash,不发生内存泄漏和非法的内存释放,那么事件列表和事件分派就一定是正常的,窗口就一定能接收事件响应,假如发生了进程crash,内存泄漏或者非法的内存释放,那就一定有迹可查,所谓无法解释和无法找到原因是微软的官方回答吗?还是网上一传十,十传百的“秘密”?。。。


it is not form the Internet, but in some real cases what we have finisched before. The situation is that:  Software Development Devision wrote a Tool (because no Serviceprogram allowed in Client's Server, so have to use GUI), and before the Installation, the Development Devision have test it for a week.but 3 Month after the Installation, the GUI disappeared. and the same Test Process still working in Development Devision (Please don't tell me it is software problem, GUI is event triggert and without user Input, windows should not be closed normally).

And much strenger is, there is nothing even in Eventslog, it is just vanished and without a trace. the answer from Microsoft is they don't know, and Eventlog should record every errors.

and for Windows Domain Controller, normally we don't use them but use Netware, because the Windows Domain can not support the Folder Size limination and every time if the same account form other PC log in, it will create many unnecessary Software Installations and need a long time. And if we just want to share files, the windows Domain is not needed, with Samba can do it better.

and there is also many problem with Windows2000 Platform, for example, if we analyer Windows DLL more detailly, you can try to test a Socket Server/Client realised with Windows Sockets.h, the windows Sockets can only working with the time span about ms level, if you continiuly send packets in 1ms, the windows Sockets can only recieve some of the Packets, and without any error msg. and people can not  manual difinie the idle time. etc.

Microsoft Operating System can only for small bussiness and Family, for Industry it is to weak.

our client that time, no one use Windows and there is also no Administrator in Windows Domain.
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2007-2-19 19:53 | 显示全部楼层
原帖由 eisenstange 于 2007-2-19 14:00 发表


it is not form the Internet, but in some real cases what we have finisched before. The situation is that:  Software Development Devision wrote a Tool (because no Serviceprogram allowed in Client's Server, so have to use GUI), and before the Installation, the Development Devision have test it for a week.but 3 Month after the Installation, the GUI disappeared. and the same Test Process still working in Development Devision (Please don't tell me it is software problem, GUI is event triggert and without user Input, windows should not be closed normally).

And much strenger is, there is nothing even in Eventslog, it is just vanished and without a trace. the answer from Microsoft is they don't know, and Eventlog should record every errors.


首先说说测试问题。我猜测,你说的一个星期的测试是对成品的测试。且不说一个星期的成品测试期对于交付到客户手中的软件来说是百分百的太短,单纯从你说的一个星期测试我就可以提出几个问题:你们总共测试了多少种Test Case?白盒,黑盒?这些Test Case在开发的一开始就定义了吗?还是想到一个测试一个?在整个开发过程有没有进行持续的Unit测试?每一轮测试有没有对测试结果进行记录?你们的软件里面的测试代码占总代码量的百分之几?最后的成品你们在多少台Windows机器上测试过?

再说说记录(Logging)问题,Windows的Eventlog并不会纪录第三方程序的内部错误,除非这些程序将错误信息记录到Eventlog当中去。比如一个Java程序在运行过程抛出的Exception是不会被“自动“记录到Eventlog里的。因此,能否在Eventlog里面找到错误信息是和你们的软件实现有关。但我想,和上面一样,我可以先给你提两个问题:你们程序当中logging的代码量占总代码量的百分之几?你们当真记录了所有可以记录的信息了吗?。。。造成一个窗口自动关闭的可能性有千千万,只要负责描绘窗口的那个线程发生了错误,窗口就会被关闭,而这种错误可以来源于非法转型,输入输出错误,同步锁错误,内存释放错误,内存非法访问错误等等等等。你们当真记录了足够的信息吗?我看未必。。。

并不是我偏袒微软,即便你这个问题是在linux下发生的,或是在Mac下发生的,或是BSD或或或,我都可以百分百得跟你说,你所说的这个案例问题绝对在你们的软件本身。从你的描述来看,我就可以断定:1,你们没有进行足够的测试;2,你们的Logging信息绝对不够多,以至于你们无法找到错误的根源。如果你不相信,你大可以把这个案例拿去问问你们Uni搞Software Engineering的教授或者他/她手下的Assi,看看他们会怎么说。

至于微软给你们的回复,那是再正常不过的了。对于如此明显的第三方软件本身的问题,难道微软应该派一名工程师来帮你们Debug?。。。


原帖由 eisenstange 于 2007-2-19 14:00 发表

and for Windows Domain Controller, normally we don't use them but use Netware, because the Windows Domain can not support the Folder Size limination and every time if the same account form other PC log in, it will create many unnecessary Software Installations and need a long time. And if we just want to share files, the windows Domain is not needed, with Samba can do it better.


这是用户需求问题,如果Windows的域控制器无法满足你们的需求,那么不用Windows当然是情理中的事情,这和Windows是否比Linux差没有关系。举一个我在别的帖子举过的例子,linux在2.6内核以后才开始正式支持ACL,在这之前,如果我的网络需要基于ACL的访问控制,那么我自然不会选择Linux,但是这和Linux的优劣没有关系,丝毫不影响我在同一个网络上使用一台linux机器来安装bind以提供域名服务。这是需求问题!


原帖由 eisenstange 于 2007-2-19 14:00 发表

and there is also many problem with Windows2000 Platform, for example, if we analyer Windows DLL more detailly, you can try to test a Socket Server/Client realised with Windows Sockets.h, the windows Sockets can only working with the time span about ms level, if you continiuly send packets in 1ms, the windows Sockets can only recieve some of the Packets, and without any error msg. and people can not  manual difinie the idle time. etc.


还是开头的那两段话,在开始怀疑操作系统之前,测试再测试,记录再记录,然后再下结论。。。

原帖由 eisenstange 于 2007-2-19 14:00 发表

Microsoft Operating System can only for small bussiness and Family, for Industry it is to weak.

our client that time, no one use Windows and there is also no Administrator in Windows Domain.


你的这个结论是从哪里看来的?还是你自己做出的判断?至少在我知道的范围内,Ciscso, Ericsson, SAP里的大部分工作站使用的都是Windows,are these companies also too weak?。。。

Sorry,并不是要和铁棍斑竹唱对台。。。只是有些问题发现了就不得不提出来。。。还请铁棍斑竹见谅。。。$送花$ $汗$

[ 本帖最后由 小牛军队 于 2007-2-20 00:41 编辑 ]
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2007-2-19 19:59 | 显示全部楼层
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2007-2-19 21:55 | 显示全部楼层
原帖由 eisenstange 于 2007-2-19 14:00 发表


it is not form the Internet, but in some real cases what we have finisched before. The situation is that:  Software Development Devision wrote a Tool (because no Serviceprogram allowed in Cli ...


Teilweise bin ich damit einverstanden!

Meiner Meinung nach kann man ganz schlecht sagen, dass L besser als W ist oder dass W besser als L ist. Beide Betriebssysteme haben eigene Stärken und Schwächen, man kann nur sagen, ob ein BS in einem konkreten Fall besser geeignet ist als das andere, zum Beispiel wenn jemand unbedingt die neueste Photoshop-Version für die Arbeit braucht, aus welchem Grund auch immer, muss er auf Linux verzichten, auch wenn er ein Linux-Profil ist und L in manchen Fällen wirklich sicherer als W ist.
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2007-2-20 02:18 | 显示全部楼层
原帖由 eisenstange 于 2007-2-17 13:55 发表
另一个问题,请教一下懂的人,不明白为什么需要有C#,有什么功能是C++不能实现的?换句话说C#有什么优势?还有指针么?

快速开发用vc不太适合吧。vc太难用了,c#的设计取了很多delphi的优点,门槛很低。
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2007-2-20 12:29 | 显示全部楼层
原帖由 ourgame 于 2007-2-20 01:18 发表

快速开发用vc不太适合吧。vc太难用了,c#的设计取了很多delphi的优点,门槛很低。


$握手$ 是很难 $郁闷$
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
您需要登录后才可以回帖 登录 | 注册 微信登录

本版积分规则

手机版|Archiver|AGB|Impressum|Datenschutzerklärung|萍聚社区-德国热线-德国实用信息网 |网站地图

GMT+2, 2024-5-4 06:58 , Processed in 0.060297 second(s), 14 queries , MemCached On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表