Re:The Missing Semester of Your CS Education
by wirthjason on Saturday February 25, 2023 @01:21PM
(#34939042)
C++ needs a “missing semester” around tooling. Most material I see focus on the core language but leave out setting up build systems, package management, clang tidy, testing etc.
[ Parent
| on HN ]
Re:The Missing Semester of Your CS Education
by no_wizard on Saturday February 25, 2023 @02:08PM
(#34939452)
How do you do package management in C/C++?
I have only used pip, cargo, npm (well yarn and pnpm mostly) and composer.
Big off putting aspect of learning C/C++ is that I can’t grok how shared libraries work very well
Re:The Missing Semester of Your CS Education
by 3836293648 on Sunday February 26, 2023 @02:55AM
(#34943872)
A mix of actual package managers, distro packages and just cloning the library into a 3rd_party folder in your project
Re:The Missing Semester of Your CS Education
by dls2016 on Saturday February 25, 2023 @09:20PM
(#34942438)
Yeah, the whole aspect of teaching C++ to beginners is fraught with tooling issues. That school is moving to Python (years after main campus switched)... but I'm not sure how I feel about that since I spent a lot of time talking about memory layout.
I ended up suggesting those who don't know how to setup a tool chain use VS Code. Not out of any particular affinity for it, but because of the good documentation covering Windows, Linux and macOS.