Dd

Dd


Branch


These are some ideas about branching:

In flowcharts, it is common to make branches when the program need to make some decisions in some conditions. But when coding, there are many ways for implementing the branches, and the programmer should choose the appropriate one based on the decision that program should make.

The first one is about making decisions based on testing some conditions. It is done using (if,else,else if, switch). The second is about handling the errors, and making the program does something when some error happened instead of crashing. It is done using (try .. catch).



Graphics


Although the examples were about drawing shapes on the screen, but i think it is useful for begginers, because the author talked about the low level details that make you know how buttons, texts and even pictures are represented on the screen.


Arrays


The author make an introduction for arrays programming in this chapter, knowing that there is a chapter for it. I think because arrays are essential now for teaching other concepts. Anyway, I am very excited for the next advanced concepts!


TextIO and Files


It was a great method for preventing mentioning advanced concepts in the beginning, by making a (library). But I didn’t understand, how he getln() keep tracking its location in the file after calling it so that by calling in the second time, it does not start reading from the begging of the file.


Report Page