Hacker News new | ask | show | jobs
by singularity2001 595 days ago
IF you learn C++ I'd suggest to use it as a nicer C, without any std:: or the million other complications. Write your own List / String classes for fun, they can't be much worse than the std ones.
2 comments

The string class you implement will be worse than the stdlib one, unless you implement small-string optimization, too, which is a massive pain.
This is such bad advice.