CppCon 2015: Kate Gregory “Stop Teaching C"

Channel:CppCon · Length:1:00:11 · Published:2015-10-19 · Views:181671

Watch on YouTube

Summary

Kate Gregory argues at CppCon 2015 that C++ should be taught without starting from C: no char* strings, printf or raw arrays at first, with references before pointers.

Why HN recommends it

HN people cite it constantly in C versus C++ debates as the case for teaching modern C++ idioms rather than C first.

Not only is she a great presenter, but she makes amazing points about what is fundamentally wrong with how C++ is taught in classrooms around the globe. — HN, 2016

C, C++, Rust, Go & systems languages · Education & learning

Subtitles (excerpt)

thank you thank you for waking up and uh and dragging yourself in on the last day to a morning session um maybe your second session if you went to the lightning talks um but whether this is your first or your second thank you um and thank you for coming to my somewhat opinionated uh at least in title um and let's be clear um obviously if you're teaching intro to see that's that's a fine thing uh my complaint is for people who are not teaching intro to see but who nonetheless start their five-day course with two days of C material so this is my suggestion for how to have a course that is more enjoyable and makes better C++ programmers which is probably the whole point of teaching anybody anything so um who am I talking to when I talk about teaching at all uh yes officially trainers people who stand at the front of the room and and pontificate for a while something I've been doing for decades uh but also people who for example just Mentor other people if someone comes to you at work and says how do you blah and you go write them a little 10line thing that demonstrates how to blah I want to talk to you about how you write that little 10line thing and what you use in there and if you uh have an API and you are the one who writes the

On Hacker News

If what you need is C++ (which IMNSHO it is not) then starting with C is a bad idea. Here's Kate Gregory's talk, you should definitely listen to her even if you think I'm an idiot because she actually teaches people C++ and I (thankfully) do not. [VIDEO] Now here's my rant, which is unrelated to Kate's very smart talk: C has an excuse, because it was written in the 1970s for the PDP-11. In the 19… — tialaramex, 2022-04
I've been spending a few days going through talks from last years cppcon[1]. They're all good, but they've all left me with a strong desire for a strongly opinionated, there-is-no-past-only-the-future introduction to C++14 (and incidentally, C11). I've added a few of those talks I've watched and liked to a small playlist (with a couple of other talks on programming, unrelated - the relevant talks… — e12e, 2016-05
> It's as if you had to be there from the start to have a full image of how the language grew and truly understand the interplay between all the "features", otherwise it's too late to become an expert, and in some cases even too late to become comfortable writing good maintainable code in C++. This is funny to me (not in a condescending way) because I had the exact opposite thought today. I actua… — autoreleasepool, 2016-01
I just can’t recommend using it for new code in light of the sexy new alternatives that can compile down to the same binary with source code that’s way more intuitive and readable. I do have nostalgia for C since it was my first language, and I think a lot of people are in the same boat, which is a problem. That’s why I think we need to stop teaching C. Kate Gregory has a good cppcon talk on the … — tediousdemise, 2021-04
My point was that I don't think Smalltalk was ever more popular in the industry than C regardless of the time frame. By the mid 90's lisp machines were pretty long gone, betting on Lisp instead of C if employability is the metric seems rather bold. MIPS I concede, it was remained fairly popular for a long time. I guess my overall point is that the subjective choices made by this university back t… — simias, 2018-10

Related videos