I would suggest checking out @mykelk’s upcoming “Algorithms for Optimization” book, which is fantastic and uses Julia code rather than pseudocode to introduce all of the concepts. If you email him, he’ll give you a link to the draft: ANN: Algorithms for Optimization book draft
The code stays very basic, mostly using if
and for
and so on for control flow, and almost no type annotations. It’s a very pleasant and readable “executable pseudocode” style — and there is a basic Julia introduction in the appendix that covers just the small subset of pieces that are useful to understand the programs in the book.