Vijitha Kumara wrote:Hi Bruce,
I'm wondering how each chapter(s) (for each language) is composed in terms of technical aspects. I read that each contains a nontrivial example. Is there a common structure in it which describes the features/design etc... or it's depend on the language?
The structure for all of the languages is similar, but not identical. They each have an introduction about the history of a language. I keep that short. I also try to introduce the personality of a language because I think that starts to open the learning channels.
Then there are three days of structured content. I tell the reader where to go to install the language (I don't address installation at all in the book) and then walk through programming examples in consoles and introduce short, simple programs. Each day is closed out with a set of exercises. Some days have more advanced exercises for the adventurous.
I close each chapter with a list of strengths and weaknesses. I do some comparison with other languages in the book, but not too much, because I wanted each day's work to stand alone.
Thanks for your question.