Forum Replies Created
- AuthorPosts
- 4. November 2022 at 21:20 in reply to: Article: The pool of talented C++ developers is running dry #105212::
From the article:
This isn’t just a British or American issue, nor is it one specific to high frequency trading. Rainer Grimm, who has been a professional C++ trainer since 2008, affirmed that C++ education in Germany is equally “terrible” and added that “there’s a big demand for C++ not only in this domain but also the automotive” industry.
::Thanks for the help Jonny.
Regarding pointers to neighbors, I’m following the structure of the source code provided in the Maze book, if they included it then I’m including it. It will likely be used at some point in later chapters. One reason I chose this book is that I wanted to think more about C++ and the language than worry about the logic of the program (although that’s important too).
BTW, you can download the source here (https://pragprog.com/titles/jbmaze/mazes-for-programmers/) . If I’m not mistaken I think you said you owned a copy of the book, right?
You are correct that grid should be taken by reference.
::I see that the cells print correctly. “Cell(25503872,0)” is now correctly “Cell(1,0)”.
If the grid is a vector of pointers should I need to create another container to hold the Cells?
The pointers are still not getting assigned to their cells. It still prints “south cell is nullptr” when it should print “Cell(1,0)”.
::Good point about videos still being developed, I didn’t think about that. Even once complete I could imagine that some might be re-recorded to add more content.
My thought about the “to review” status would be to allow someone to mark a lesson for later follow up. I can see this in a couple ways, one, the exercises. I don’t always have time to complete the exercise and I want to come back to it. There are also the CppCon Back to Basics videos that are very good but quite long, about ~1 hour, and need a dedicated time to watch. Some topics are challenging and need to be studied multiple times or are presented early but will come again in a later lesson. I imagine lvalue / rvalue references will need some review when going over class lifecycle and copy constructors / move constructors, etc.
I don’t know that it’s worth modifying the site to add something like this, I’m just making a suggestion. I have a big document where I’m writing notes and tracking these kinds of things.
::If you look through large popular libraries you’ll tons of boilerplate code and lots of template metaprogramming. It might be easier to read some higher level code of smaller applications?
This is a good idea.
Another idea, instead of entire (gigantic) repos perhaps targeted examples of key concepts / ideas.
Lots of good ideas in those HN comments.
- AuthorPosts