Meanwhile in the C world: struggling to copy a string https://nrk.neocities.org/articles/not-a-fan-of-strlcpy
Meanwhile in the C world: struggling to copy a string https://nrk.neocities.org/articles/not-a-fan-of-strlcpy 11 comments
@vitaut WHAT? NO! YOU WEREN'T MEANT TO MOCK C!
0
0
15 July at 16:17 | Open on social.kernel.org
@vitaut The main thing I got out of that was that strdup is finally going to be part of C2x @vitaut Reading that feels like reading a role playing game rulebook that's made by people that are REALLY into puzzles, and also kind of mean. 😓 1. if it’s not NUL-terminated ( @mirabilos @vitaut it's only a string if it can cleanly handle unicode text and knows its length. otherwise it's just sparkling bag of bytes /hj @vitaut@mastodon.social i die a little bit inside every time i see someone use "prefix" when they should use "suffix" @vitaut what does the author mean by "schizo" logic? Especially when it is contrasted by "sane and natural logic"? Because the only word I know that has schizo in it is schizophrenia, so this sounds like the author is, at the same time, managing to show they don't understand how schizophrenia work, are being abelist and pretending like schizophrenia isn't something natural that just happens to some people because of genetic and epigenetic factors |