miniblog.
← Back to all posts
Mar 21, 2014 at 20:39
I actually needed a try-else statement in Python today! I believe this is the first time I've used it in anger.
Wilfred Hughes
Related Posts
Nov 13, 2011 at 11:14
I've just used a for-else loop in anger in #python . Still have my reservations about its readability though.
Wilfred Hughes
Shared words: else, Python, used, anger Score: 79.5
Sep 17, 2013 at 17:45
I've actually used metaclasses today! Ensuring a #Python class is never instantiated twice with the same arguments:
Ensure no class gets instantiated twice with the same arguments.
Ensure no class gets instantiated twice with the same arguments. - cached_instances.py
Wilfred Hughes
Shared words: actually, Python, today, used Score: 61.2
Mar 23, 2013 at 13:22
Used #Python metaclasses in anger yesterday -- as with most metaprogramming, usually a bad idea, but occasionally a huge boon.
Wilfred Hughes
Shared words: Python, used, anger Score: 44.1