深海尋人+文雀
文雀(持續閉關中)
我和他
Chores
兩個荒謬兒童故事的啟示
姪 女那本圖書叫“好奇的小白兔”,講述兩只小白兔爬進樹下發光的洞,竟進入了另一個森林。剛才所見的光,原是來自湖泊裡發光的東西。他們正想伸手去拿的時 候
Why I am not really fond of docstrings in Python
I wrote some nice things before about how Idon't really use docstrings, but in thinking about it more I've realizedthat I was shading the truth. The real truth is that I don't really likeusing docstrings, and I've recently figured out why: docstrings don'tstand out enough.
(I have to say here that I have nothing against documenting my code;I just want it to look right.)
Unless you use an editor and display environment that set docstringsoff
More thinking about Python's inheritance model
Here's something I've been pondering lately: why doesn't Python havean inheritance model more like C++, where (forexample) your superclass's __init__ is automatically called?
There's a number of reasons, but I think that one of them is that Pythonlacks any concept of private class attributes and methods. When youlimit what a subclass can do to a superclass, when you have privateinternal state that has to be maintained correctly, it's
Click: 女人的理想
難得
