作者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)
推 godfat:not a chance? 這是惡搞嗎? @@ 06/04 09:17
→ huggie:還有 import this 唷..哈 06/04 12:04
推 ykjiang:真的 not a chance 耶 ] 06/04 12:39
→ huggie:^^^^^^^^^^^^^^^^^^^^^^ 騙你幹麼? 我昨天就是這個表情 06/04 13:56
→ huggie:好笑也是因為 Python 不用 braces 但又很多人建議 06/04 13:59
→ huggie:而且真的有__future__ 這個 package. 是有用途的 06/04 14:01
推 gasolin:我也笑了 06/04 20:25
推 legnaleurc:try import __hello__ 06/06 02:30
→ huggie:hello world :p 06/08 11:21
→ genephantom:好讚XD 06/22 22:38