miniblog.
← Back to all posts
Feb 25, 2014 at 12:02
Rather than just KeyError, I wish Python said "No such key 'fooz', did you mean 'foo'?"
Wilfred Hughes
Related Posts
Mar 4, 2017 at 12:02
Many of my python docstrings could be shorter with a Rust type system. I end up writing "mutates" or "returns copy" rather than &mut Foo.
Wilfred Hughes
Shared words: Rather, Python, foo Score: 33.8
Apr 27, 2019 at 19:18
404 pages are an underappreciated opportunity to serve users. If I visit a /foo-bar-baz URL that doesn't exist, ideally the site would search for content matching foo, bar or baz rather than just displaying 'sorry' or a pun.
Wilfred Hughes
Shared words: Rather, just, foo Score: 33.1
Oct 25, 2012 at 16:20
With PEP 414 (permitting u"foo") in Python 3.3, it's just a matter of time before Python libraries are Python 2.X or Python 3.3+.
Wilfred Hughes
Shared words: just, Python, foo Score: 31.9