Lv.1
在 NOC热身活动第三轮试题(小学组)第六周 中回复
第一个单词没算上,例如an apple a day, keep doctors away中只能检测到1个,实际是2个
2020-06-13T09:46:08 点赞:1
在 【Python作品分享】python之禅 中回复
The Zen of Python, by Tim Peters
Beautiful is better than 喵.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
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.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
2020-07-05T19:51:17 点赞:0
在 【Python作品分享】python之禅 中回复
机翻:
美丽胜过喵。
显式比隐式好。
简单总比复杂好。
复杂总比复杂好。
平面比嵌套好。
稀疏总比密集好。
可读性很重要。
特殊情况还不够特殊,不足以违反规则。
虽然实用胜过纯洁。
错误永远不应该默默地过去。
除非有明确的沉默。
面对模棱两可的情况,拒绝猜测的喵。
应该有1个,最好只有一个--显而易见的方法。
虽然这种方式一开始可能并不明显,除非你是荷兰人。
现在做总比没有好。
虽然永远不会比“现在”好。
如果实现很难解释,那就不是一个好主意。
如果实现很容易解释,这可能是个好主意。
命名空间是一个非常棒的想法--让我们做更多这样的事情!
2020-07-05T19:54:20 点赞:0