找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 4714|回复: 1

发布一个编程定律-永远要怀疑自己的程序

[复制链接]
发表于 2008-7-15 23:42:22 | 显示全部楼层 |阅读模式
自己总结的,不起名了。
当发现程序的问题时,永远不要怀疑操作系统,永远不要怀疑编译器,永远怀疑自己的程序有问题,并试图解决。
因为你即便发现了操作系统的问题,你也没办法,只能绕着走,更何况,这种几率是如此之低。
 楼主| 发表于 2008-7-15 23:42:34 | 显示全部楼层
Not really, I worked with different OSs, compilers, DBs and some other
thrit-party softwares. I found bugs in each of them. You can image how
many they have.Some of them  are so simple, you just can't beleive
they mess it up.
e.g gcc iostream lib was crap. VC++ template support used to be joke.
linux sendfile sucks  since kernel 2.6 (2.4 is not bad with RH9
I'm using)...
But here, I can see many bad practise in the sample codes. I guess most of the visitors are students.
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

Archiver|手机版|小黑屋|ACE Developer ( 京ICP备06055248号 )

GMT+8, 2024-5-3 22:49 , Processed in 0.013856 second(s), 7 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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