Pramod Patki wrote:Hello Marcello,
Welcome to ranch!
I am curious to know if there is one programming language used in book or multiple?
I tried to find it from contents on manning website’s book provided here but couldn’t find it or missed it 😊
Wish you great success and many more good books like this to come.
Regards.
Pramod Patki
Hi Pramod,
thanks a lot for your question and for the compliments and good wishes! I really appreciate it
So yes, as Nestor and Junilu (thanks!) already mentioned, the book uses pseudocode. That was decided to try to abstract away all the implementation details that are tied to any specific programming language, and let the readers focus on the logic of the algorithms.
There are a couple of exceptions: chapter 2 shows some Python while talking about profiling, chapter 7 uses
Java to explain locks, and appendix E uses JavaScript to show how recursion works.
Besides that, for all chapters there is an implementation in at least one of these three languages, shared on the book's GitHub repo, here:
https://github.com/mlarocca/AlgorithmsAndDataStructuresInAction
Cheers!