661 reputation
23
bio website
location
age
visits member for 2 years, 5 months
seen Jun 23 at 8:42

Jan
30
awarded  Yearling
Jan
24
answered Boolean expression complexity and bitwise operators
Jan
14
answered Unit test best-practices in Python
Jan
13
answered Better way to check if Javascript Date object exists
Dec
6
answered Tiny text adventure
Dec
6
answered Python - ternary operator or if statement?
Jul
18
answered Try/catch block inside a method that returns String
Jun
13
answered Do I need to reduce the number of levels in the code?
Jan
30
awarded  Yearling
Apr
16
answered Is there a “code less” way to construct this JS loop?
Mar
20
answered idiomatic clojure (map from sequence generation)
Mar
1
comment Python memoization decorator
@RikPoggi yes, you're right. setdefault is really only useful if the default value is static, which isn't the case here.
Mar
1
comment Python memoization decorator
@WinstonEwert thanks, edited! TylerCrompton: it depends on your use case. For a very big cache and a tight loop it will make a big difference. lvc: yes, good point.
Mar
1
awarded  Editor
Mar
1
revised Python memoization decorator
deleted 2 characters in body
Feb
29
comment Python memoization decorator
It's actually optimal to use in Python for several reasons. See books.google.se/… for further reading :)
Feb
29
answered Python memoization decorator
Feb
29
answered Simple exercice representing a slidepuzzle
Feb
7
answered Advice to improve the quality of the code module in Python
Feb
6
answered Word frequency generator in Python