MadeByMe personal blog
Performance Analysis of Python's Dict() and {}
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…
- Points
- 108
- HN comments
- 92
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringProgramming Languages2024
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jan 22, 2024 | Performance Analysis of Python's Dict() and {} by nathiss | 108 | 92 |