|
You are here |
initialcommit.com | ||
| | | | |
martinheinz.dev
|
|
| | | | | Even if you write clear and readable code, even if you cover your code with tests, even if you are very experienced developer, weird bugs will inevitab... | |
| | | | |
death.andgravity.com
|
|
| | | | | namedtuple has been around since forever, and over time, its convenience saw it used far outside its originally intended purpose. With dataclasses now covering part of those use cases, what should one use named tuples for? In this article, I address this question, and give a few examples from real code. | |
| | | | |
treyhunner.com
|
|
| | | | | If you're switching between Python 2 and Python 3, you might think that Python 2's xrange objects are pretty much the identical to Python ... | |
| | | | |
blog.demofox.org
|
|
| | | Hash tables are great in that you can hash a key and then use that hash as an index into an array to get the information associated with that key. That is very fast, so long as you use a fast hash function. The story doesn't end there though because hash functions can have collisions... | ||