logoalt Hacker News

cm2187today at 4:20 AM2 repliesview on HN

A lot of pain and suffering to avoid having a string datatype.


Replies

teo_zerotoday at 6:26 AM

> A lot of pain and suffering to avoid having a string datatype

No, a lot of pain and suffering to work around the lack of a string datatype in C.

edoceotoday at 4:52 AM

What's a way they could get a strong data type here? Wouldn't that also require a large refactor of the code around strncpy to use the type and its functions?

show 1 reply