Boost logo

Boost :

Subject: Re: [boost] How should I teach a C++ college class?
From: Richard Hodges (hodges.r_at_[hidden])
Date: 2019-03-17 10:37:48

My 2c:

Suggest teaching latest standards (which for now is c++17), touch on c++2a,
particularly coroutines, as this will be a game-changer for the way c++ is

Teach the single responsibility principle and separation of concerns.

Encourage the use of standard algorithms and containers, particularly the
use of std::vector and std::array over c arrays and std::string over c

Touch on interoperability with c libraries as this is still important.

Teach the use of std::unique_ptr with custom destructor for managing
c-library objects while gaining the benefit of RAII.

Teach RAII, referring back to the Single Responsibility Principle and how
this enables easy, perfect RAII in objects that manage external resources.

Certainly mention boost and how features in boost tend to migrate into the
standard over time.

On Sun, 17 Mar 2019 at 03:38, Joshua Marshall via Boost <
boost_at_[hidden]> wrote:

> I need some general input here. I'd like to pitch and run a semester long
> C++ course to students who have at least 1 year of programming experience.
> I'd like to have this open to open ended input. The biggest technical
> restrictions are that the University systems are running RHEL 7.4 (7.5?)
> with software collections devtoolset-8.
> _______________________________________________
> Unsubscribe & other changes:

Richard Hodges
office: +442032898513
home: +376841522
mobile: +376380212

Boost list run by bdawes at, gregod at, cpdaniel at, john at