Open Source Humor #2

Update on the open source humor post:

In the current issue of Linux Weekly News, somebody wrote an article mentioning the following Python command:

from __future__ import braces

Let’s try:

$ python
Python 2.4.3 (#1, Mar 30 2006, 11:02:16)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
>>> from __future__ import braces
File “<stdin>”, line 1
SyntaxError: not a chance
>>>

Hm, not bad for a programming language.

(Oh, and if you didn’t understand it, don’t worry, it’s pretty easy: Python uses indentation to distinguish between code blocks, not curly braces like C, Java and others. And they are proud of it.)



Leave a Reply