但是,在最常见的“用例”中要执行一系列相关的初始化;在这种情况下,返回值往往是不相关的。
The most common "use case," however, is where a series of related initializations are performed; in this case, the return values are usually irrelevant.
由于空指针能够被改变,但通常它意味着你不能初始化一个对象或者你不能检查一个函数中的返回值。
The cause of null pointers can be varied, but generally it means that either you haven't initialized an object, or you haven't checked the return value of a function.
应用推荐