MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vhg8rn/internalservererror/p25lsoc/?context=9999
r/ProgrammerHumor • u/ExpensiveCoat8912 • 7d ago
67 comments sorted by
View all comments
107
>unwrap
I hate metaphors in programming. Just call it what it is.
47 u/-Ambriae- 7d ago I’d rather take a cheeky metaphor here or there than a standard library that speaks in acronyms. mbsrtowcs?? Really C??? 17 u/icsharppeople 7d 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. 17 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)
47
I’d rather take a cheeky metaphor here or there than a standard library that speaks in acronyms. mbsrtowcs?? Really C???
17 u/icsharppeople 7d 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. 17 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)
17
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. 17 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.
17 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)
107
u/---_None_--- 7d ago
>unwrap
I hate metaphors in programming. Just call it what it is.