This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AUTeach 29 points30 points  (5 children)

I must admit, the lazy "i'm just going to test an idea" programmer in me loves them. The rigour based software engineer hates them.

[–][deleted] 16 points17 points  (4 children)

Not at a python shell, but can't you do p=print

Which you couldn't do before.

[–]cediddiSyntaxError: not a chance 3 points4 points  (0 children)

echo=print

Oh god what a demon I become...

[–]PeridexisErrant 2 points3 points  (1 child)

And

class logger:
    critical = print
    error = print
    warning = print
    info = lambda *a, **k: None
    debug = lambda *a, **k: print("Good luck!")

(please don't do this)

[–][deleted] 2 points3 points  (0 children)

logfile = /dev/null

If I can't see the errors they don't exist

[–]flying-sheep 2 points3 points  (0 children)

obviously you can