3 ms·
Huh, good catch. I guess I default to using single-quotes for dictionary keys, and double quotes for text strings
by s_kilk 11y ago
Huh, good catch. I guess I default to using single-quotes for dictionary keys, and double quotes for text strings
- Mahn 11y agoI do this too, single quotes for simple/static strings, double quotes for (potentially) complex/dynamic strings. Nothing wrong with that as long as you are consistent, though I suppose it's a very subjective thing.