News for hackers. Stuff that matters.
Re:The Evolution of a Python Programmer by lclarkmichalek on Thursday March 08, 2012 @03:52PM (#3681559)

    #Python hacker
    <function omitted>
    sys.stdout.write(str(fact(6)) + '\n')
The call to str is unneeded. For consistency, it should be

    sys.stdout.write(fact(6).__str__() + "\n")
And if that example want's to be really "hacker"ish, then every function call should actually be a call to the __call__ method of each object.

There are no comments on this comment yet.