Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"No more C, no long tail of bugs due to C coders not understanding GC but having a cool idea about how to copy strings."


I've seen more home made string implementations in C than I can remember. Most all of them were horrible. Say what you like about C++, but it certainly fixed that mess. And I love Go... I think it's the future.


> Say what you like about C++, but it certainly fixed that mess.

Already in the MS-DOS days, even if string class back then was compiler framework specific, and part of ritual of passage as C++ developer.


I've seen more home-made string implementations in C++ than C. :-/


I bet all of them derive either from the days before std::string, which only started to be commonly supported after 2000, as compilers were catching up with C++98.

The typical rite of passage that every C++ developer needs to write their own string and vector classes as part of learning C before C++, instead of properly C++ as we can do nowadays.

Finally those shops that don't allow to use proper C++ on their code, rather C with Classes.


Don't forget loggers! It seems like every C++ programmer wants to write their own logger. :-S


Nah, I guess you mean reflection libraries. :)


Ah, good ol QString




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: