python的类中为什么要引入self
2015-02-01 18:43
369 查看
从第一次接触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/
过两天整理
相关资源:
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/
过两天整理
相关文章推荐
- Python学习笔记(1)——Python为什么要self
- Python 为什么要self
- Python为什么要self
- Python为什么要self
- Python为什么要self
- Python中为什么要用self探讨
- Python中为什么要使用self?
- Python为什么要self
- python的类方法为什么要写一个self参数
- Python为什么不隐式实现self
- Python为什么要self
- Python为什么要self
- Python在定义类方法时为什么要显示声明self参数
- Python为什么要self
- Python为什么要self
- python之为什么类中函数的变量声明要加self
- 为什么要引入锁
- 为什么在OSPF路由中不建议引入直连路由?
- python self,cls,decorator的理解
- python里的self