Juha Nieminen writes opinionated programming pages on C++, templates, sorting algorithms and floating point, including a "what grinds my gears" section.
HN links it for the bubble sort misconceptions page and the export templates essay, with commenters debating whether insertion sort is the better simple choice.
The best way that I know of to do this is the """ "Manual" export templates """ idea discussed here: http://warp.povusers.org/programming/export_templates.html
(It's a great post in general. N.B. that it's also quite old and export templates have been removed from the standard for quite some time after compiler writers refused to implement them.)
TL;DR: Declare your templates in a header, implement them in a source file, and explicitly instantiate them inside that same source file for every type that you want to be able to use them with. You lose expressiveness but gain compilation speed because the template is guaranteed to be compiled exactly once for each instantiation.
Linus Torvalds' popular comment is dissected here (http://warp.povusers.org/OpenLetters/ResponseToTorvalds.html):
"C++ is a horrible language. It's made more horrible by the fact that a lot of substandard programmers use it, to the point where it's much much easier to generate total and utter crap with it. Quite frankly, even if the choice of C were to do nothing but keep the C++ programmers out, that in itself would be a huge reason to use C."
You know the clip I'd like to see: Linus vs Stroustrup, discussing the pros and cons of C++. The hotheaded hacker against the calm language developer. Who'd win?
You're misidentifying the attitude. The problem is that Bubble Sort is a terrible algorithm, there's no reason not to use Insertion Sort or better instead except for some reason CS programs still inflict BS on students so that's what they remember when they just need to sort something.
http://warp.povusers.org/grrr/bubblesort_eng.html
http://warp.povusers.org/grrr/bubblesort_misconceptions.html (Bubble sort is not great when your data is almost sorted. Insertion sort is, though.)
Another stack based language worth learning might be Postscript (even if only to make your coworkers wonder why such a small file takes such a long time to print: http://warp.povusers.org/MandScripts/ps.html or http://www.physics.uq.edu.au/people/foster/postscript.html )
Something really bugs me about this. Unless I'm mistaken, Bernoulli's principle doesn't say anything about throwing air down ....
http://en.wikipedia.org/wiki/Bernoullis_principle#Applications
http://warp.povusers.org/grrr/airfoilmyth.html
What am I missing here?
The index page has dates for other articles, but not this one. http://warp.povusers.org/grrr/index.html
Archive.org's first snapshot of this page is on 2006-02-08.
The HTTP response headers contain the entry: "Last-Modified: Sun, 14 Oct 2012 08:58:12 GMT"