Awful code of the week

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Aug 7 02:54:35 EDT 2016


Seen in the office IRC channel:


(13:23:07) fred:     near_limit = []
(13:23:07) fred:     near_limit.append(1)
(13:23:07) fred:     near_limit = len(near_limit)
(13:23:09) fred: WTF



Speaks for itself.



-- 
Steve




More information about the Python-list mailing list