要是我出错了,我能不知道吗?
你发现我出错了。
谢尔顿:你知道我是个聪明绝顶的人。要是我出错了,我能不知道吗?
Sheldon: you know me to be a very smart man. Don't you think that if I were wrong, I'd know it?
And I end up going back and doing unit testing anyway, to try and figure out why it doesn't work. So over the years, I've just convinced myself I might as well start where I'm going to end up.
第一次从来不会正常运行,因此无论如何我还要回头去做单元测试,找找哪儿出错了,因此经过这么多年,我已经说服自己既然一定要做单元测试,那么还是一开始就做最好了。
Or, if something goes wrong, trying to think of, you know, what can be learned out of it.
或者是,什么东西出错了,我就试着,想一想可以从中学到些什么。
Why 1? It's arbitrary, but it's anything other than zero so I just exit because something went wrong and this program is just going to bail.
为什么是1?这是任意的,但它是非零的,因为出错了,我退出程序,然后这个程序就释放了。
应用推荐