作者huggie (huggie)
看板Python
标题[闲聊] 我觉得超好笑
时间Wed Jun 4 08:34:24 2008
刚看了一篇作者,是四五年的 Python user 了,强调 Python 用 indentation
来当 block structure 的愚蠢
http://0rz.tw/004d6
笑点来了..我看他的 example 自己 follow 一下:
===================================================
thw@usa:~/TB/reference/avium104$ python
Python 2.5.2 (r252:60911, Apr 17 2008, 13:15:05)
[GCC 4.2.3 (Debian 4.2.3-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
from __future__ import braces
File "<stdin>", line 1
SyntaxError: not a chance
====================================================
not a chance... (#‵′)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.129.160.62
※ 编辑: huggie 来自: 140.129.160.62 (06/04 08:36)
1F:推 godfat:not a chance? 这是恶搞吗? @@ 06/04 09:17
3F:→ huggie:还有 import this 唷..哈 06/04 12:04
4F:推 ykjiang:真的 not a chance 耶 ] 06/04 12:39
5F:→ huggie:^^^^^^^^^^^^^^^^^^^^^^ 骗你干麽? 我昨天就是这个表情 06/04 13:56
6F:→ huggie:好笑也是因为 Python 不用 braces 但又很多人建议 06/04 13:59
7F:→ huggie:而且真的有__future__ 这个 package. 是有用途的 06/04 14:01
8F:推 gasolin:我也笑了 06/04 20:25
9F:推 legnaleurc:try import __hello__ 06/06 02:30
10F:→ huggie:hello world :p 06/08 11:21
11F:→ genephantom:好赞XD 06/22 22:38