首页 > 技术文章 > python的类中为什么要引入self

plwang1990 2015-02-01 18:43 原文

从第一次接触python的面向对象编程时起就很看不惯它的self,简直反人类。

相关资源:

What is the purpose of self in Python?

http://stackoverflow.com/questions/2709821/what-is-the-purpose-of-self-in-python

 

http://www.douban.com/group/topic/19376685/

 

过两天整理

推荐阅读