peakzhang 发表于 2008-7-15 23:42:22

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

自己总结的,不起名了。
当发现程序的问题时,永远不要怀疑操作系统,永远不要怀疑编译器,永远怀疑自己的程序有问题,并试图解决。
因为你即便发现了操作系统的问题,你也没办法,只能绕着走,更何况,这种几率是如此之低。

peakzhang 发表于 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 themare 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 suckssince 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.
页: [1]
查看完整版本: 发布一个编程定律-永远要怀疑自己的程序