摘要:
Is it legal (and moral) for a member function to say delete this? As long as you’re careful, it’s okay (not evil) for an object to commit suicide (del 阅读全文
摘要:
1: 变量不是盒子,应该把变量视作便利贴。变量只不过是标注,所以无法阻止为对象贴上多个标注。标注就是别名: 下面的代码中,lewis 和 charles 是别名,即两个变量绑定同一个对象。而 alex 不是 charles 的别名,因为二者绑定的是不同的对象。alex 和 charles 绑定的对象 阅读全文
摘要:
Q: Looking in /proc/$mypid/fd/, I see these files Because I have access to the code, I know these sockets are tied to TCP connections (one is a connec 阅读全文
摘要:
1:type() class type(object) class type(name, bases, dict) With one argument, return the type of an object. The return value is a type object. The isin 阅读全文
摘要:
What is the difference between Processor, Core, Logical Processor ? Processor : It’s the physical components that comes with server, responsible of al 阅读全文