Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A repository of modern C++ code samples curated by the community.
I think you should remove the bubble sort snippet. A newbie may use it verbatim without realizing there are better algorithms.
It may be good to give an example of RAII that protects a resource other than memory, to plant the idea of wider applicability in your reader's head.
There are no comments on this comment yet.
I think you should remove the bubble sort snippet. A newbie may use it verbatim without realizing there are better algorithms.
It may be good to give an example of RAII that protects a resource other than memory, to plant the idea of wider applicability in your reader's head.