Explore >> Select a destination


You are here

blog.hakril.net
| | tenthousandmeters.com
4.0 parsecs away

Travel
| | Consider a simple assignment statement in Python: a = b The meaning of this statement may seem trivial. What we do here is take the value of the...
| | madebyme.today
3.8 parsecs away

Travel
| | Some time ago, during a code review, I had a discussion with a colleague of mine about preferring dict() over {} in new Python code. They argued that dict() is more readable - and expresses intent more clearly - therefore should be preferred. I wasn't convinced by that, but at that time I didn't have any counterarguments, so I passed. Yet that made me wonder: what's the difference between the dict type and {} literal expression?
| | www.justus.pw
2.8 parsecs away

Travel
| | [AI summary] This article explains how to use Python's disassembly library to inspect and understand CPython's byte code, including examples of disassembling a simple function.
| | dynomight.net
25.6 parsecs away

Travel
|