Re:Stop using strncpy already
by InclinedPlane on Thursday April 04, 2013 @04:44AM
(#5491623)
Null terminated strings are one of the worst failures of design in programming languages of all time. In C you're sort of stuck with turd polishing. It's never going to be good or right, it's always going to be partly broken in some way.
If I were writing a new code-base in C I'd standardize on using bstring but that too doesn't solve every problem.
If I were writing a new code-base in C I'd standardize on using bstring but that too doesn't solve every problem.