|
You are here |
www.learnpython.dev | ||
| | | | |
fuzzyblog.io
|
|
| | | | | [AI summary] The author discusses differences between Python and Ruby regarding dictionary key access and missing keys, highlighting cultural design philosophies and the Pythonic .get() method. | |
| | | | |
akaptur.github.com
|
|
| | | | | Nick Coghlan added another interesting note in response to my last post about creating side-effecting assignments in python. Here's Nick: @ ... | |
| | | | |
thepythoncorner.com
|
|
| | | | | Hi guys, have you ever wondered how can Python dictionaries be so fast and reliable? The answer is that they are built on top of another technology: hash tables. Knowing how Python hash tables work will give you a deeper understanding of how dictionaries work and this could be a great advantage for your Python understanding because dictionaries are almost everywhere in Python. Hash Functions Before introducing hash tables and their Python implementation you have to know what is a hash function and how it works. A hash function is a function that can map a piece of data of... | |
| | | | |
pbrisbin.com
|
|
| | | While reading Understanding Computation again last night, I was going back through the chapter where Tom Stuart describes deterministic and non-deterministic finite automata. These simple state machines seem like little more than a teaching tool, but he eventually uses them as the implementation for a regular expression matcher. I thought seeing this concrete use for such an abstract idea was interesting and wanted to re-enforce the ideas by implementing such a system myself - with Haskell, of course. | ||