Answer the question
In order to leave comments, you need to log in
Do you need to learn Pascal to work on Shen and Wirth?
Hey!
In the process of my IT self-education, I came across the fact that I needed (read: I want to) work through two books:
Shen's Programming and
Wirth's Algorithms and Data Structures.
The latter is on Oberon, Modulus and Pascal, and since Shen uses Pascal, it makes sense, in my opinion, to read Wirth in adaptation to it in order to save himself time.
I know how to Python at the level of simple and crooked classes, I'm slowly picking Scheme from The Little Schemer series and I can make people laugh on the pluses. There is no desire to learn Pascal, but there is a desire to work out algorithms and data structures in a statically typed language (Sedgwick is complicated, I don’t want to pick the pluses further, and pumping algorithmic skills through them, in my opinion, is overkill). I have the utmost respect for Shen and trust his recommenders, but I want to work with Wirth because his wording is delivered to the right place.
Did everyone who recommends these books specifically learn Pascal to work with them? I understand that a real programmer will master the syntax of a new language in a week, a day, an hour, a minute, and for him the language is only a tool, and in general, posing a question in such a form humiliates discipline and art itself, but...
TL;DR
How to get the most out of Shen and Wirth, avoiding the study of Pascal?
Answer the question
In order to leave comments, you need to log in
The beauty of Pascal is that it is simple. Knowing English at the school level, you will be able to understand Pascal syntax fluently.
And Oberon's syntax is even simpler than Pascal and Modula.
The numbering of arrays in Oberon is the same as in C, starting from zero.
VAR
arr: ARRAY 10 OF REAL;
(* структуры/записи *)
date: RECORD
day, month, year: INTEGER
END;
set: SET;
BEGIN
arr[0] := 1.2E-5;
date.day := 12; date.month := 4; date.year := 2020;
set := {1,2, 5..15}
END
How to get the most out of Shen and Wirth without learning Pascal?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question