What you’re actually saying is that you have the benefit of hindsight. That in no way makes you more on an expert than Ken Thompson who also has the benefit of hindsight.
I would guess that literally thousands of people have implemented an equivalent to strcpy with exactly the same issues (and likely more). Reimplemention does not imply a better implementation.
Decades of experience using strcpy is what taught us it’s a bad idea, not reimplementing it a thousand times.
Maybe it took you decades. One decade sufficed for most of the world.
This is starting to feel like a pissing contest. Go write your software thinking you know more than your users. Me, I constantly need to talk to mine. They're often more expert on the domain than me.
> This is starting to feel like a pissing contest.
Is there some reason it suddenly went from us discussing a difference of opinion to hostility? I have no idea what this is about.
> Go write your software thinking you know more than your users.
That’s a strange nonsequitur. End customers don’t generally tell me how to craft software. When I work with customers, it’s to understand their domain and their problems, not mine.
Again, not sure where this hostility is coming from.
Perhaps I'm coming down with something. I'm uninterested in the sub-thread past https://news.ycombinator.com/item?id=30019146#30042174. It feels like willful misinterpretation, like you forgot what I said 2 exchanges ago when you respond to any single comment.
I've said my piece in a bunch of different ways, over ten years and again ten times to you. Perhaps this is as close as we're going to get to mutual understanding, if you think after all this that I'm trying to one-up Ken Thompson or something.
I think you're using words like "expert" and "strictly worse" way too bluntly. What's better for the author is often not what's better for the user.
I would guess that literally thousands of people have implemented an equivalent to strcpy with exactly the same issues (and likely more). Reimplemention does not imply a better implementation.
Decades of experience using strcpy is what taught us it’s a bad idea, not reimplementing it a thousand times.