logoalt Hacker News

ahartmetzlast Sunday at 5:20 PM2 repliesview on HN

C strings (it's almost an exaggeration to say that C has strings) and "just never make any mistakes bro" based memory management come to mind.


Replies

drnick1last Sunday at 9:13 PM

With LLMs becoming so good at coding, "just never make any mistake" is also becoming easier. I usually write my own code because I don't like the coding style of LLMs, but on more than one occasion now they have proven very useful as code reviewers and bug hunters.

ueckerlast Sunday at 8:44 PM

We were talking about Rust issues. But yes, C should have a proper string type. But as long as it does not have a better standardized string type, it is possible to define your own (or use a library).

show 1 reply