List

While other languages mark blocks mostly with braces or begin/end flags, Python does so using compulsory indentation ( although indentation is suggested in the former as well). Being a Python coach, I have observed that this generates a debate every time in my classes.

Today I came across this easter egg on braces which indicates what Python development team thinks about braces.


>>> from __future__ import braces
File "", line 1
SyntaxError: not a chance

I found this pretty funny. It is as excellent as the “recursion” easter egg in the Google Search engine ( search for the word recursion using google and see what the search suggestion (Did You Mean) say!).

You might want to try the following easter eggs in Python as well:


>>> import this
>>> import antigravity

Leave a Reply

  Posts

1 10 11 12
May 24th, 2007

The Big Fight – Schools of Testing – Views Against and Additional Perspective – I

May 22nd, 2007

The Big Fight – Schools of Testing – Views in Favour

May 21st, 2007

The Big Fight – Schools of Testing – Is Context-Driven school a Meta-school?

May 15th, 2007

The Big Fight – Schools of Testing – The Schools

May 10th, 2007

The Big Fight – Schools of Testing – The Origin

May 9th, 2007

The Big Fight – Schools of Testing – Introduction

May 7th, 2007

Dealing with dynamic boundaries in LoadRunner using Text Flags

May 3rd, 2007

Presentation at Yahoo! Bangalore

May 3rd, 2007

Selective Logging for effective debugging in LoadRunner

April 26th, 2007

Using Bug Count for Performance Evaluation of Testers

Discover more from Rahul Verma Official

Subscribe now to keep reading and get access to the full archive.

Continue reading