logoalt Hacker News

groundzeros2015yesterday at 12:53 PM3 repliesview on HN

In C you have char*


Replies

rcxdudeyesterday at 1:27 PM

Which isn't very good for substrings due to the null-termination requirement.

show 1 reply
kccqzyyesterday at 1:00 PM

And the type system does not tell you if you need to call free on this char* when you’re done with it.

show 1 reply
pjc50yesterday at 1:10 PM

In C you only have char*.

show 2 replies