Am I wrong for being horrified by this statement? This seems like a lot of added complexity where you want minimal complexity. Then again, can't say I've ever tried to run a container orchestrator on a F-16.
This seems like a slippery slope - I think I'd prefer waterfall to a MVP driven workflow for this kind of stuff.
Can you give an example of the strncpy problem?
Also is there a precaution programs can take to use memset more safely?
And yes, maybe it'll impact performance. Worry about that _after_ you profile your code and have the numbers to show it -- I'd bet good money that 95% of developers will never need to worry about it.
I don't know about the rest, but open(), close() and bcopy() are not in the C standard library. They are either POSIX or Linux specific. The C standard library functions for files start with f e.g. fopen(), fclose().
On a tangential topic, I don't know of a good reference for exploring what is included in the standard library.
The classic book The C Programming Language covers most, if not all, of the standard library. The whole thing can be found in an appendix. Admittedly reading an appendix isn't normally the best way to learn about something, but the library is so small and the amount not already covered in the text is even smaller so it wouldn't take long to skim. Of course it doesn't cover Unix-specific functions, like the unistd.h header; for that, I recommend Advanced Programming in the Unix Environment.
I'm surprised. I expected that 50% of wage earners would make less or equal to the median wage. If for no other reason than the definition of median.
I was told, as a kid, that it was rude to not eat all the food put in front of you, especially at other people's houses. Other parents would comment on how polite we children were for clearing our plates.
> It's the same with Applebee's, Chili's etc. at one point all these places were decent to good before corporate greed and mismanagement steps in and starts selling over-priced sugar cocktails and appetizer specials. It's no longer about providing good food and atmosphere to families but about extracting maximum value from a customer engagement.
There needs to be a single catch-all phrase for this type of process, which (I think) we've seen more and more regularly in recent years. We see it in physical businesses, and it's also probably behind the huge shift to subscription-based services online. My interpretation is that it's essentially the capitalism that we've had for decades, but taken to ever-greater extremes. It seems to be rooted in America (and indeed, arguably behind a decent proportion of America's increasing woes) but is gradually infecting Europe too.
Whenever I see examples, I think of /r/latestagecapitalism, or "hyper-capitalism" but I'm not sure these terms would be widely-enough understood to be helpful in discussing or explaining the phenomenon.