3 ms·
Stupid question: Why "str" instead of "Str"? (For homogeneity)
by twsted 11y ago
Stupid question: Why "str" instead of "Str"? (For homogeneity)
- bjz_ 11y agoOh you wouldn't believe the huge amount of bikeshedding that went into the naming of `String` and `str`. :) The end result might not be the nicest - to my eyes at least - but at least a decision was made!
- Retra 11y agoBecause primitive types are all lowercase. See: char, usize, i32, f64, etc...