3 ms·
When I worked at Google, they had their own string type in place of std::string for various reasons. Python has byte strings, Unicode strings, format strings,
by sgtnoodle 3y ago
When I worked at Google, they had their own string type in place of std::string for various reasons.
Python has byte strings, Unicode strings, format strings, regular expression strings, and probably a few others!
Rust has str and String, depending on ownership.
- lakomen 3y ago> Rust has str and String, depending on ownership. Why I hate Rust
- sgtnoodle 3y agoC++ has string and string_view. Python has memoryview. It seems like a necessary evil if you don't want folk working in raw pointers?
- bedobi 3y agohonestly the difference between basic types like String in different contexts in different languages and dbs is enough to give me ptsd lol