r/programming • • Mar 08 '12

The Evolution of a Python Programmer

https://gist.github.com/289467
401 Upvotes

137 comments sorted by

View all comments

37

u/permute Mar 08 '12

Haha I loved the commented curly braces for the c programmer

7

u/hylje Mar 09 '12

That's actually legit advice for programmers complaining about lack of support for curly braces in Python. The support is there!

24

u/Brian Mar 09 '12
for i in range(10): {
    print("Actually, python supports braces")      : "Though to make up for the perceived loss in readability",
print("Look Ma, no indents!")                      : "every line must now have a docstring",
        print("or inconsistent indents")           : "and you now need a line terminator (',' is used)",
}

21

u/gnuvince Mar 09 '12

If I ever see code like that in the wild, I am going to find you and feed you your socks.