Hacker Courses The online courses programmers keep recommending, ranked from 20 years of public forum comments.
i
Four Algorithmic Journeys
Image: youtube.com
#1056 overall

Four Algorithmic Journeys

YouTube

1 recommender · 1 thread · recommended in 1 year, 2018 · score 0.7

Go to course ↗

A multi-part video lecture series by Alexander Stepanov, the designer of the C++ Standard Template Library, covering the history of algorithms alongside the math and programming behind them, with examples in C++. It is the lecture series behind his book From Mathematics to Generic Programming.

Commenters recommend it as an enjoyable video companion to Stepanov's books that connects algorithm history, math, and generic programming with the STL mindset.

Algorithms & Data Structuresintermediatefreevideo lectures#generic programming#stl#algorithms history#c++#stepanov

Recommendations by year

20062026

What commenters said (1)

  1. RecommendsSuncho2018in “Ask HN: What is the best Modern C++ MOOC?”

    Yes! Alexander Stepanov is fantastic. He's the designer of the Standard Template Library (STL) for C++, which is C++'s core library of generic algorithms. It's part of the standard libary.

    If you can understand how to use the STL properly, you're well on your way to becoming a profiicent C++ programmer.

    His books are fantastic too.

    Elements of Programming:

    https://www.amazon.com/Elements-Programming-Alexander-Stepan...

    and From Mathematics to Generic Programming:

    https://www.amazon.com/Mathematics-Generic-Programming-Alexa...

    If you prefer video lectures, his second book is based off his lecture series Four (three) Algorithmic Journeys:

    https://www.youtube.com/playlist?list=PLHxtyCq_WDLV5N5zUCBCD...

    https://www.youtube.com/playlist?list=PLHxtyCq_WDLW0NqZCcrrQ...

    https://www.youtube.com/playlist?list=PLHxtyCq_WDLXrHwcaay14...

    https://www.youtube.com/playlist?list=PLHxtyCq_WDLVQPzEm3igP...

    It's a combination of history and math/algorithms and programming (using C++). If you're just looking for a straight intro to C++ course this isn't it. But it's a ton of fun and the generic programming/STL mindset is very powerful.

    Programming Conversations is another great lecture series by Alexander Stepanov:

    https://www.youtube.com/playlist?list=PLHxtyCq_WDLXFAEA-lYoR...

    I would also recommend searching YouTube for videos by Sean Parent. This one in particular is very enlightening:

    https://www.youtube.com/watch?v=qH6sSOr-yk8

    Sean Parent is very good at getting you in the STL mindset and showing off the expressive power of using the standard STL algorithms in your code. Except in the simplest cases, you should try to use them instead of writing your own loops.

    Here are some random tips if you're coming from C or Java:

    "new" is not the way to create objects in C++. new and delete should almost never be used by serious programmers in C++. Never use new and delete (or malloc and free). If you want a dynamically-allocated array, use the standard vector.

    It's much easier to write C++ than it is to read it. This is because you can always write using a simple clear subset of C++ that you understand. Try to pick a style that you think as many people as possible will understand. Programming languages are for humans to read. I try to write code that I think C programmers can read.

    Edit -- Another tip:

    Exception safety isn't about C++'s exception-handling language feature. Exceptions still happen in C. There's just not a language feature that directly expresses them.

    Writing exception-safe code is nearly impossible in C. RAII and C++'s built-in exceptions make it possible. If you're careful to always use RAII by default, you can get the basic exception safety guarantee automatically without thinking about it. And you can get the strong exception safety guarantee whenever you need it.

    Good luck!

Related courses

Keyboard

In the course grid
←↑→↓
Move between courses
Home End
Start / end of row (with Ctrl: first / last)
PgUp PgDn
Jump several rows
Enter
Open course
S
Save / unsave course
1–5
Best, Trending, Hidden gems, Evergreen, Saved
[ ]
Previous / next topic
On a course page
← →
Previous / next course in your list
S
Save / unsave
O
Open the course website
Esc
Back to the grid
Everywhere
/
Search
T
Light / dark theme
?
This help