hsf-training / cpluspluscourse

C++ Course Taught at CERN, from Sebastien Ponce (LHCb)
Apache License 2.0
165 stars 61 forks source link

STL vs. standard library #167

Open bernhardmgruber opened 2 years ago

bernhardmgruber commented 2 years ago

I would like to add some more standard library components to the overview on this slide: image

Specifically: threads mutexes, atomics, regular expressions, filesystem access, random number engines and distributions, date and time utilities, ... Not because I want to explain all this, but I want students to have a rough sketch on what they have at their disposal.

But that now conflicts with the chapter title, which is "STL". However, the Standard Template Library is not technically the same as the C++ Standard Library. STL was the name of a library from Alexander Stepanov et. al. proposed for standardization in C++98 and became part of the C++ Standard Library. I know many people still call that part of the C++ Standard Library STL, but it is technically not correct. And it is even less correct, if I would start mentioning more standard libraries like the list above in the chapter STL.

What should we do about this? Rename the chapter STL to standard library? Leave it? Add a new slide giving an overview of the standard library and claiming the STL is one part of the standard library?

chavid commented 2 years ago

I fully support the idea that STL "semantic" is now too old-school. If one wants to keep something focus on the subset corresponding the former STL, which stays a meaningful consistent piece, I would today call it "Containers, Iterators & Algorithms".

stale[bot] commented 2 years ago

This issue or pull request has been automatically marked as stale because it has not had recent activity. Please manually close it, if it is no longer relevant, or ask for help or support to help getting it unstuck. Let me bring this to the attention of @klieret @wdconinc @michmx for now.