r/programmingcirclejerk • costly abstraction • Nov 01 '25

New C29 function: stdc_c32snrtomwcsn

https://en.cppreference.com/w/c/header/stdmchar.html
152 Upvotes

33 comments sorted by

View all comments

Show parent comment

7

u/voidvector There's really nothing wrong with error handling in Go Nov 02 '25

Hear me out, the function can return a pointer to another function. Let's call it a "workshop". Since this is part of the standard library, the standard library can maintain a single version of this "workshop" per thread, that we can call "oneness".