|
You are here |
www.blueraja.com | ||
| | | | |
bryananthonio.com
|
|
| | | | | Sharing key insights on how computers work, from logic gates and binary arithmetic to assembly languages. | |
| | | | |
www.bitsnbites.eu
|
|
| | | | | ||
| | | | |
www.snell-pym.org.uk
|
|
| | | | | ||
| | | | |
madebyme.today
|
|
| | | 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? | ||