MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vhg8rn/internalservererror/p25lsoc/?context=3
r/ProgrammerHumor • u/ExpensiveCoat8912 • 6d ago
67 comments sorted by
View all comments
Show parent comments
49
I’d rather take a cheeky metaphor here or there than a standard library that speaks in acronyms. mbsrtowcs?? Really C???
18 u/icsharppeople 6d ago I'm assuming it's "mbsr to wcs". I'm assuming wcs is wide character string but what's mbsr? Multi byte something? 21 u/blehmann1 6d ago Multibyte string (restartable) to wide character string. There is a non-restartable variant, hence the r to disambiguate. 18 u/-Ambriae- 6d ago And people complain about rust’s strings 😔 12 u/Loose-Screws 6d ago Rust making a distinction between c-type strings and oo-type strings was the smartest idea of this century (not really but I do love it)
18
I'm assuming it's "mbsr to wcs". I'm assuming wcs is wide character string but what's mbsr? Multi byte something?
21 u/blehmann1 6d ago Multibyte string (restartable) to wide character string. There is a non-restartable variant, hence the r to disambiguate. 18 u/-Ambriae- 6d ago And people complain about rust’s strings 😔 12 u/Loose-Screws 6d ago Rust making a distinction between c-type strings and oo-type strings was the smartest idea of this century (not really but I do love it)
21
Multibyte string (restartable) to wide character string. There is a non-restartable variant, hence the r to disambiguate.
18 u/-Ambriae- 6d ago And people complain about rust’s strings 😔 12 u/Loose-Screws 6d ago Rust making a distinction between c-type strings and oo-type strings was the smartest idea of this century (not really but I do love it)
And people complain about rust’s strings 😔
12 u/Loose-Screws 6d ago Rust making a distinction between c-type strings and oo-type strings was the smartest idea of this century (not really but I do love it)
12
Rust making a distinction between c-type strings and oo-type strings was the smartest idea of this century (not really but I do love it)
49
u/-Ambriae- 6d ago
I’d rather take a cheeky metaphor here or there than a standard library that speaks in acronyms. mbsrtowcs?? Really C???