Forwarded from dnaugsuz
Complex is better than complicated.
是啊,可是 self 哪里比 implicit this (实际上有点像作用域策略) 更 *不* complicated 的了?
是啊,可是 self 哪里比 implicit this (实际上有点像作用域策略) 更 *不* complicated 的了?
Forwarded from dnaugsuz
Forwarded from dnaugsuz
以前 C 的时候人们就喜欢用
SomeClass_someMethod(struct SomeClass*, int arg1) 这种方式来实现“面向对象”Forwarded from 任桑 今天开始做魔王
一会儿python不太面向对象,一会儿比python懂编程,一会儿复制粘贴一份代码过来然后说这是xx写的你也配批评?
Forwarded from dnaugsuz
那我们也暂时别聊了吧,最近关于 Ruby 和 Python 的 "bound" 面向对象也是有点糊涂
Forwarded from dnaugsuz
>>>
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
……
你们觉得呢?Python 3.7 真正做到了几条?
我看他们这篇文简直是为 Kotlin 量身定做的嘛…… 🤪
import this
……Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
……
你们觉得呢?Python 3.7 真正做到了几条?