miniblog.
← Back to all posts
May 12, 2014 at 09:57
Python 3 fact of the day: map and filter are lazy in Python 3 (which is a change from Python 2).
Wilfred Hughes
Related Posts
Sep 29, 2010 at 18:50
Python learners beware: One minute you're learning #Python with list comprehensions, the next you are grokking map, reduce and filter.
Wilfred Hughes
Shared words: Python, map, filter Score: 47.5
Jul 4, 2011 at 16:54
Fun #python fact of the day: isinstance(True, int) => True!
Wilfred Hughes
Shared words: Python, fact, day Score: 38.5
Apr 25, 2022 at 02:02
I'm trying to factor out the interior mutability in my Rust code. It's a little more verbose, but surprisingly readable. foo_old(&syntax); foo_new(&syntax, &mut change_map); Signatures are way more self-documenting with this approach.
Wilfred Hughes
Shared words: map, change Score: 19.9