2
alkuzad
66d

What kind of people use `dict(a=1)` instead of `{"a": 1}` ?

Comments
  • 2
    I use it for building kwargs, where all keys become variable names later and I want them highlighted as such. So very rarely.
  • 0
    @zvyn yep, but from time to time i see it without using kwargs. It seems like someone refactored code and moved variables to another class, leaving old construct behind
Your Job Suck?
Get a Better Job
Add Comment