I'm a self-taught programmer and I've done lots of messing around in Python, but I want to bridge the gap between what I know and what I would have learned in school. There's lots of 'everyday' stuff that was tripping me up before this book ("what's a constructor?"). I've found Principles super helpful in moving me from a place where I'm writing python recipes in jupyter to thinking about how to construct and write larger programs.
I've taken a crack at SICP, but found it brilliant but a bit more 'high-minded', like trying to learn Beethoven before I can play twinkle twinkle little star. Also, I already have SICP on my shelf, but that seems more like a good reference than a 'read-it-straight-through' kind of book.
So what would you recommend next?
I haven't read 'Practice and Principles', but I assume it focuses mostly on the OOP programming paradigm. I'd explore the functional programming paradigm. I say paradigm because it's possible to implement the functional paradigm in a traditionally imperative/OOP language like C++. (And it's possible to implement OOP/imperative paradigm in traditionally functional languages like Scheme/Lisp.) So learning functional concepts can improve your C++ programming, at both the "strategic" (program design) and "tactical" levels (implementation in code).
Quick summary of the promises of functional programming:
1. Program design/code that is easier to reason about/debug.
2. Programs that are shorter, yet more descriptive.
3. Programs that are more performant.
4. Programs that can be easily parallelized.
I believe SICP teaches functional concepts (via Scheme/Lisp), but recently I found more accessible/practical resources. (My university's intro to programming class used parts of SICP, mostly the beginning but FP didn't truly "click" until I found the resources below.)
Here is my short list of best introductions to practical FP, strategies and tactics:
- https://hw.leftium.com/#/item/18043058
- https://hw.leftium.com/#/item/21879368
- https://youtu.be/8JKjvY4etTY
- More: https://project-awesome.org/stoeffel/awesome-fp-js
---
How to Design Programs is also a good book: https://htdp.org/